#B4D04F#B4D04F

#B4D04F is a light, vivid yellow-green. Relative luminance 0.554; OKLCH L 81.2% C 0.157 H 120.4°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#B4D04F
RGBrgb(180, 208, 79)
HSLhsl(73, 58%, 56%)
HSVhsv(73, 62%, 82%)
CMYKcmyk(13.5%, 0%, 62%, 18.4%)
CIE-LABlab(79.26, -27.39, 59.07)
CIE-LCHlch(79.26, 65.11, 114.87°)
OKLaboklab(81.18% -0.0795 0.1353)
OKLCHoklch(81.18% 0.157 120.4)
XYZxyz(42.7901, 55.3797, 15.8307)
Luminance0.5538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4D04F #6B4FD0
analogous
#D0AC4F #B4D04F #74D04F
triadic
#B4D04F #4FB4D0 #D04FB4
tetradic
#B4D04F #4FD0AC #6B4FD0 #D04F74
square
#B4D04F #4FD0AC #6B4FD0 #D04F74
split-complementary
#B4D04F #4F74D0 #AC4FD0
monochromatic
#6D8223 #96B230 #B4D04F #C9DD7F #DDEAB0

Accessibility & contrast

On white

1.74
#B4D04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#B4D04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4D04F
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4D04F#FFFFFF#000000##000000
##B4D04F1.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC53F
Deuteranopia (green-blind)
#D9C558
Tritanopia (blue-blind)
#BDC6B5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b4d04f;
/* rgb */ color: rgb(180, 208, 79);
/* oklch */ color: oklch(81.2% 0.157 120.4);
Tailwind
colors: {
  custom: {
    50: '#cdde86',
    500: '#b4d04f',
    950: '#000000',
  },
}
SCSS
$custom: #b4d04f;
$custom-light: #cdde86;
$custom-dark: #000000;
JSON
{
  "hex": "#b4d04f",
  "rgb": {
    "r": 180,
    "g": 208,
    "b": 79
  },
  "hsl": {
    "h": 73.023,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81179,
    "c": 0.15692,
    "h": 120.4
  },
  "luminance": 0.5538
}

Semantic roles & 50–950 ramp

primary
#B4D04F
secondary
#4B3A89
accent
#47E168
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B4D04F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B4D04F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva