#B9D242#B9D242

#B9D242 is a light, vivid yellow-green. Relative luminance 0.568; OKLCH L 81.9% C 0.167 H 118.8°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#B9D242
RGBrgb(185, 210, 66)
HSLhsl(70, 62%, 54%)
HSVhsv(70, 69%, 82%)
CMYKcmyk(11.9%, 0%, 68.6%, 17.6%)
CIE-LABlab(80.07, -27.18, 65.18)
CIE-LCHlch(80.07, 70.62, 112.64°)
OKLaboklab(81.89% -0.0804 0.1462)
OKLCHoklch(81.89% 0.167 118.8)
XYZxyz(44.0384, 56.8011, 13.7969)
Luminance0.5680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9D242 #5B42D2
analogous
#D2A342 #B9D242 #71D242
triadic
#B9D242 #42B9D2 #D242B9
tetradic
#B9D242 #42D2A3 #5B42D2 #D24271
square
#B9D242 #42D2A3 #5B42D2 #D24271
split-complementary
#B9D242 #4271D2 #A342D2
monochromatic
#6C7C1E #97AD29 #B9D242 #CBDE73 #DEEAA5

Accessibility & contrast

On white

1.70
#B9D242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#B9D242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9D242
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9D242#FFFFFF#000000##000000
##B9D2421.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC62B
Deuteranopia (green-blind)
#DDC74D
Tritanopia (blue-blind)
#C4C7B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #b9d242;
/* rgb */ color: rgb(185, 210, 66);
/* oklch */ color: oklch(81.9% 0.167 118.8);
Tailwind
colors: {
  custom: {
    50: '#d1df7f',
    500: '#b9d242',
    950: '#000000',
  },
}
SCSS
$custom: #b9d242;
$custom-light: #d1df7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b9d242",
  "rgb": {
    "r": 185,
    "g": 210,
    "b": 66
  },
  "hsl": {
    "h": 70.417,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81886,
    "c": 0.16686,
    "h": 118.8
  },
  "luminance": 0.56801
}

Semantic roles & 50–950 ramp

primary
#B9D242
secondary
#423484
accent
#43E55F
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B9D242

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

Preview Lab → · Contrast checker → · Palette generator →

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