#B9D152#B9D152

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

Color values

HEX#B9D152
RGBrgb(185, 209, 82)
HSLhsl(71, 58%, 57%)
HSVhsv(71, 61%, 82%)
CMYKcmyk(11.5%, 0%, 60.8%, 18%)
CIE-LABlab(79.91, -25.65, 58.62)
CIE-LCHlch(79.91, 63.98, 113.64°)
OKLaboklab(81.8% -0.0746 0.1346)
OKLCHoklch(81.8% 0.154 119)
XYZxyz(44.3317, 56.5247, 16.5559)
Luminance0.5652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9D152 #6A52D1
analogous
#D1AA52 #B9D152 #79D152
triadic
#B9D152 #52B9D1 #D152B9
tetradic
#B9D152 #52D1AA #6A52D1 #D15279
square
#B9D152 #52D1AA #6A52D1 #D15279
split-complementary
#B9D152 #5279D1 #AA52D1
monochromatic
#738523 #9CB630 #B9D152 #CDDE82 #E0EBB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9D152#FFFFFF#000000##000000
##B9D1521.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)
#DEC643
Deuteranopia (green-blind)
#DBC75A
Tritanopia (blue-blind)
#C3C6B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b9d152;
/* rgb */ color: rgb(185, 209, 82);
/* oklch */ color: oklch(81.8% 0.154 119.0);
Tailwind
colors: {
  custom: {
    50: '#d1df88',
    500: '#b9d152',
    950: '#000000',
  },
}
SCSS
$custom: #b9d152;
$custom-light: #d1df88;
$custom-dark: #000000;
JSON
{
  "hex": "#b9d152",
  "rgb": {
    "r": 185,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 71.339,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81799,
    "c": 0.15393,
    "h": 119
  },
  "luminance": 0.56524
}

Semantic roles & 50–950 ramp

primary
#B9D152
secondary
#4A3B8C
accent
#47E164
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B9D152

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

Preview Lab → · Contrast checker → · Palette generator →

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