#B5D04E#B5D04E

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

Color values

HEX#B5D04E
RGBrgb(181, 208, 78)
HSLhsl(72, 58%, 56%)
HSVhsv(72, 63%, 82%)
CMYKcmyk(13%, 0%, 62.5%, 18.4%)
CIE-LABlab(79.32, -27.06, 59.58)
CIE-LCHlch(79.32, 65.44, 114.43°)
OKLaboklab(81.24% -0.0787 0.1362)
OKLCHoklch(81.24% 0.157 120)
XYZxyz(42.9877, 55.4857, 15.6514)
Luminance0.5549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5D04E #694ED0
analogous
#D0AA4E #B5D04E #74D04E
triadic
#B5D04E #4EB5D0 #D04EB5
tetradic
#B5D04E #4ED0AA #694ED0 #D04E74
square
#B5D04E #4ED0AA #694ED0 #D04E74
split-complementary
#B5D04E #4E74D0 #AA4ED0
monochromatic
#6E8122 #97B22F #B5D04E #C9DD7E #DDEAAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5D04E#FFFFFF#000000##000000
##B5D04E1.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)
#DCC53E
Deuteranopia (green-blind)
#D9C557
Tritanopia (blue-blind)
#BFC6B5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b5d04e;
/* rgb */ color: rgb(181, 208, 78);
/* oklch */ color: oklch(81.2% 0.157 120.0);
Tailwind
colors: {
  custom: {
    50: '#cede85',
    500: '#b5d04e',
    950: '#000000',
  },
}
SCSS
$custom: #b5d04e;
$custom-light: #cede85;
$custom-dark: #000000;
JSON
{
  "hex": "#b5d04e",
  "rgb": {
    "r": 181,
    "g": 208,
    "b": 78
  },
  "hsl": {
    "h": 72.462,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81243,
    "c": 0.15734,
    "h": 120
  },
  "luminance": 0.55486
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5D04E

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

Preview Lab → · Contrast checker → · Palette generator →

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