#B5D04F#B5D04F

#B5D04F is a light, vivid yellow-green. Relative luminance 0.555; OKLCH L 81.3% C 0.157 H 120.1°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#B5D04F
RGBrgb(181, 208, 79)
HSLhsl(73, 58%, 56%)
HSVhsv(73, 62%, 82%)
CMYKcmyk(13%, 0%, 62%, 18.4%)
CIE-LABlab(79.33, -26.99, 59.17)
CIE-LCHlch(79.33, 65.03, 114.52°)
OKLaboklab(81.25% -0.0784 0.1355)
OKLCHoklch(81.25% 0.157 120.1)
XYZxyz(43.0238, 55.5002, 15.8417)
Luminance0.5550 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5D04F #6A4FD0
analogous
#D0AB4F #B5D04F #75D04F
triadic
#B5D04F #4FB5D0 #D04FB5
tetradic
#B5D04F #4FD0AB #6A4FD0 #D04F75
square
#B5D04F #4FD0AB #6A4FD0 #D04F75
split-complementary
#B5D04F #4F75D0 #AB4FD0
monochromatic
#6E8223 #97B230 #B5D04F #C9DD7F #DEEAB0

Accessibility & contrast

On white

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

On black

12.10
#B5D04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5D04F
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5D04F#FFFFFF#000000##000000
##B5D04F1.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5d04f;
/* rgb */ color: rgb(181, 208, 79);
/* oklch */ color: oklch(81.3% 0.157 120.1);
Tailwind
colors: {
  custom: {
    50: '#cede86',
    500: '#b5d04f',
    950: '#000000',
  },
}
SCSS
$custom: #b5d04f;
$custom-light: #cede86;
$custom-dark: #000000;
JSON
{
  "hex": "#b5d04f",
  "rgb": {
    "r": 181,
    "g": 208,
    "b": 79
  },
  "hsl": {
    "h": 72.558,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81252,
    "c": 0.15655,
    "h": 120.1
  },
  "luminance": 0.555
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5D04F

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

Preview Lab → · Contrast checker → · Palette generator →

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