#B9D542#B9D542

#B9D542 is a very light, vivid yellow-green. Relative luminance 0.583; OKLCH L 82.6% C 0.170 H 119.7°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#B9D542
RGBrgb(185, 213, 66)
HSLhsl(71, 64%, 55%)
HSVhsv(71, 69%, 84%)
CMYKcmyk(13.1%, 0%, 69%, 16.5%)
CIE-LABlab(80.90, -28.61, 66.02)
CIE-LCHlch(80.90, 71.95, 113.43°)
OKLaboklab(82.56% -0.0843 0.148)
OKLCHoklch(82.56% 0.17 119.7)
XYZxyz(44.7860, 58.2964, 14.0462)
Luminance0.5830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9D542 #5E42D5
analogous
#D5A842 #B9D542 #6FD542
triadic
#B9D542 #42B9D5 #D542B9
tetradic
#B9D542 #42D5A8 #5E42D5 #D5426F
square
#B9D542 #42D5A8 #5E42D5 #D5426F
split-complementary
#B9D542 #426FD5 #A842D5
monochromatic
#6D801C #98B228 #B9D542 #CCE074 #DEEBA6

Accessibility & contrast

On white

1.66
#B9D542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#B9D542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9D542
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9D542#FFFFFF#000000##000000
##B9D5421.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C92A
Deuteranopia (green-blind)
#DFC94E
Tritanopia (blue-blind)
#C3CAB8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #b9d542;
/* rgb */ color: rgb(185, 213, 66);
/* oklch */ color: oklch(82.6% 0.170 119.7);
Tailwind
colors: {
  custom: {
    50: '#d1e17f',
    500: '#b9d542',
    950: '#000000',
  },
}
SCSS
$custom: #b9d542;
$custom-light: #d1e17f;
$custom-dark: #000000;
JSON
{
  "hex": "#b9d542",
  "rgb": {
    "r": 185,
    "g": 213,
    "b": 66
  },
  "hsl": {
    "h": 71.429,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.82558,
    "c": 0.17034,
    "h": 119.7
  },
  "luminance": 0.58296
}

Semantic roles & 50–950 ramp

primary
#B9D542
secondary
#443487
accent
#41E761
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B9D542

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

Preview Lab → · Contrast checker → · Palette generator →

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