#B9D842#B9D842

#B9D842 is a very light, vivid yellow-green. Relative luminance 0.598; OKLCH L 83.2% C 0.174 H 120.5°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#B9D842
RGBrgb(185, 216, 66)
HSLhsl(72, 66%, 55%)
HSVhsv(72, 69%, 85%)
CMYKcmyk(14.4%, 0%, 69.4%, 15.3%)
CIE-LABlab(81.74, -30.02, 66.86)
CIE-LCHlch(81.74, 73.29, 114.18°)
OKLaboklab(83.23% -0.0882 0.1498)
OKLCHoklch(83.23% 0.174 120.5)
XYZxyz(45.5476, 59.8195, 14.3000)
Luminance0.5982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9D842 #6142D8
analogous
#D8AC42 #B9D842 #6ED842
triadic
#B9D842 #42B9D8 #D842B9
tetradic
#B9D842 #42D8AC #6142D8 #D8426E
square
#B9D842 #42D8AC #6142D8 #D8426E
split-complementary
#B9D842 #426ED8 #AC42D8
monochromatic
#6F841B #99B726 #B9D842 #CCE275 #DFEDA7

Accessibility & contrast

On white

1.62
#B9D842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#B9D842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9D842
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9D842#FFFFFF#000000##000000
##B9D8421.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC29
Deuteranopia (green-blind)
#E2CB4E
Tritanopia (blue-blind)
#C3CDBA
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #b9d842;
/* rgb */ color: rgb(185, 216, 66);
/* oklch */ color: oklch(83.2% 0.174 120.5);
Tailwind
colors: {
  custom: {
    50: '#d1e47f',
    500: '#b9d842',
    950: '#000000',
  },
}
SCSS
$custom: #b9d842;
$custom-light: #d1e47f;
$custom-dark: #000000;
JSON
{
  "hex": "#b9d842",
  "rgb": {
    "r": 185,
    "g": 216,
    "b": 66
  },
  "hsl": {
    "h": 72.4,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.83232,
    "c": 0.17382,
    "h": 120.5
  },
  "luminance": 0.59819
}

Semantic roles & 50–950 ramp

primary
#B9D842
secondary
#45338B
accent
#3FE962
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B9D842

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

Preview Lab → · Contrast checker → · Palette generator →

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