#B4E12E

A color in the Yellow, Gold family

#b4e12e is a color in the Yellow, Gold family: RGB(180, 225, 46), HSL(75°, 75%, 53%), CMYK(20%, 0%, 80%, 12%). Closest named color: yellowgreen. Contrast is 1.53:1 on white and 13.75:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b4e12e
RGBrgb(180 225 46)
RGB (legacy)rgb(180, 225, 46)
RGB %rgb(71% 88% 18%)
HSLhsl(75 75% 53%)
HSV / HSBhsv(75, 80%, 88%)
HWBhwb(75 18% 12%)
CMYKcmyk(20%, 0%, 80%, 12%)
CIELAB (D50)lab(84.12 -31.77 73.99)
LCHlch(84.12 80.52 113.24)
OKLaboklab(0.8481 -0.1089 0.164)
OKLCHoklch(0.8481 0.1968 123.58)
Decimal11854126

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 6.5
Closest web-safe color#cccc33
Hue75°
Saturation (HSL / HSV)75% / 80%
Lightness (HSL)53%
Brightness or Value (HSV)88%
Luminance (Rec.601 / Rec.709)75% / 79%
Relative luminance (WCAG)0.6375
Red / Green / Blue180 / 225 / 46

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.53:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
13.75:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 24.3 / -78.9 · As background with white / black text: Lc -27.5 / 79.5

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #b4e12e;
  --color-brand-oklch: oklch(84.81% 0.1968 123.58);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(180 225 46 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b4e12e] text-[#b4e12e] border-[#b4e12e]">