#B9D172#B9D172

#B9D172 is a very light, vivid yellow-green. Relative luminance 0.571; OKLCH L 82.2% C 0.124 H 120.8°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#B9D172
RGBrgb(185, 209, 114)
HSLhsl(75, 51%, 63%)
HSVhsv(75, 45%, 82%)
CMYKcmyk(11.5%, 0%, 45.5%, 18%)
CIE-LABlab(80.25, -22.76, 44.26)
CIE-LCHlch(80.25, 49.77, 117.21°)
OKLaboklab(82.18% -0.0636 0.1065)
OKLCHoklch(82.18% 0.124 120.8)
XYZxyz(45.8455, 57.1302, 24.5283)
Luminance0.5713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9D172 #8A72D1
analogous
#D1B972 #B9D172 #89D172
triadic
#B9D172 #72B9D1 #D172B9
tetradic
#B9D172 #72D1B9 #8A72D1 #D17289
square
#B9D172 #72D1B9 #8A72D1 #D17289
split-complementary
#B9D172 #7289D1 #B972D1
monochromatic
#7E9731 #A2C244 #B9D172 #D0E0A0 #E7EFCE

Accessibility & contrast

On white

1.69
#B9D172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#B9D172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9D172
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9D172#FFFFFF#000000##000000
##B9D1721.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC76A
Deuteranopia (green-blind)
#D8C777
Tritanopia (blue-blind)
#C0C8BB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #b9d172;
/* rgb */ color: rgb(185, 209, 114);
/* oklch */ color: oklch(82.2% 0.124 120.8);
Tailwind
colors: {
  custom: {
    50: '#cfdf9c',
    500: '#b9d172',
    950: '#000000',
  },
}
SCSS
$custom: #b9d172;
$custom-light: #cfdf9c;
$custom-dark: #000000;
JSON
{
  "hex": "#b9d172",
  "rgb": {
    "r": 185,
    "g": 209,
    "b": 114
  },
  "hsl": {
    "h": 75.158,
    "s": 50.802,
    "l": 63.333
  },
  "oklch": {
    "l": 0.82183,
    "c": 0.12402,
    "h": 120.8
  },
  "luminance": 0.5713
}

Semantic roles & 50–950 ramp

primary
#B9D172
secondary
#5F4A9D
accent
#27BE4D
background
#FEFEFC
surface
#FBFCF5
border
#D4D5CF
text
#14150E
muted
#83847F

Preview Lab

Preview with #B9D172

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

Preview Lab → · Contrast checker → · Palette generator →

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