#B9D962#B9D962

#B9D962 is a very light, vivid yellow-green. Relative luminance 0.608; OKLCH L 83.8% C 0.150 H 122.2°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#B9D962
RGBrgb(185, 217, 98)
HSLhsl(76, 61%, 62%)
HSVhsv(76, 55%, 85%)
CMYKcmyk(14.7%, 0%, 54.8%, 14.9%)
CIE-LABlab(82.28, -28.17, 54.24)
CIE-LCHlch(82.28, 61.12, 117.45°)
OKLaboklab(83.75% -0.0801 0.1271)
OKLCHoklch(83.75% 0.15 122.2)
XYZxyz(47.0254, 60.8218, 20.8153)
Luminance0.6082 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9D962 #8262D9
analogous
#D9BD62 #B9D962 #7ED962
triadic
#B9D962 #62B9D9 #D962B9
tetradic
#B9D962 #62D9BD #8262D9 #D9627E
square
#B9D962 #62D9BD #8262D9 #D9627E
split-complementary
#B9D962 #627ED9 #BD62D9
monochromatic
#7B9B26 #A3CC31 #B9D962 #CFE593 #E5F1C5

Accessibility & contrast

On white

1.60
#B9D962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#B9D962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9D962
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9D962#FFFFFF#000000##000000
##B9D9621.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD56
Deuteranopia (green-blind)
#E0CD69
Tritanopia (blue-blind)
#C1CFBF
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #b9d962;
/* rgb */ color: rgb(185, 217, 98);
/* oklch */ color: oklch(83.8% 0.150 122.2);
Tailwind
colors: {
  custom: {
    50: '#d0e492',
    500: '#b9d962',
    950: '#000000',
  },
}
SCSS
$custom: #b9d962;
$custom-light: #d0e492;
$custom-dark: #000000;
JSON
{
  "hex": "#b9d962",
  "rgb": {
    "r": 185,
    "g": 217,
    "b": 98
  },
  "hsl": {
    "h": 76.134,
    "s": 61.026,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83754,
    "c": 0.15024,
    "h": 122.2
  },
  "luminance": 0.60822
}

Semantic roles & 50–950 ramp

primary
#B9D962
secondary
#5A409F
accent
#1DC94B
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150D
muted
#83847F

Preview Lab

Preview with #B9D962

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

Preview Lab → · Contrast checker → · Palette generator →

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