#B9D151#B9D151

#B9D151 is a light, vivid yellow-green. Relative luminance 0.565; OKLCH L 81.8% C 0.155 H 119.0°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#B9D151
RGBrgb(185, 209, 81)
HSLhsl(71, 58%, 57%)
HSVhsv(71, 61%, 82%)
CMYKcmyk(11.5%, 0%, 61.2%, 18%)
CIE-LABlab(79.90, -25.73, 59.03)
CIE-LCHlch(79.90, 64.39, 113.55°)
OKLaboklab(81.79% -0.0749 0.1354)
OKLCHoklch(81.79% 0.155 119)
XYZxyz(44.2939, 56.5096, 16.3570)
Luminance0.5651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9D151 #6951D1
analogous
#D1A951 #B9D151 #79D151
triadic
#B9D151 #51B9D1 #D151B9
tetradic
#B9D151 #51D1A9 #6951D1 #D15179
square
#B9D151 #51D1A9 #6951D1 #D15179
split-complementary
#B9D151 #5179D1 #A951D1
monochromatic
#728523 #9CB530 #B9D151 #CCDE81 #E0EBB2

Accessibility & contrast

On white

1.71
#B9D151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#B9D151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9D151
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9D151#FFFFFF#000000##000000
##B9D1511.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC642
Deuteranopia (green-blind)
#DBC75A
Tritanopia (blue-blind)
#C3C6B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b9d151;
/* rgb */ color: rgb(185, 209, 81);
/* oklch */ color: oklch(81.8% 0.155 119.0);
Tailwind
colors: {
  custom: {
    50: '#d1df87',
    500: '#b9d151',
    950: '#000000',
  },
}
SCSS
$custom: #b9d151;
$custom-light: #d1df87;
$custom-dark: #000000;
JSON
{
  "hex": "#b9d151",
  "rgb": {
    "r": 185,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 71.25,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.8179,
    "c": 0.15473,
    "h": 119
  },
  "luminance": 0.56509
}

Semantic roles & 50–950 ramp

primary
#B9D151
secondary
#4A3B8B
accent
#46E163
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B9D151

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

Preview Lab → · Contrast checker → · Palette generator →

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