#B9D332#B9D332

#B9D332 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.0% C 0.177 H 118.7°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#B9D332
RGBrgb(185, 211, 50)
HSLhsl(70, 65%, 51%)
HSVhsv(70, 76%, 83%)
CMYKcmyk(12.3%, 0%, 76.3%, 17.3%)
CIE-LABlab(80.25, -28.46, 70.78)
CIE-LCHlch(80.25, 76.29, 111.90°)
OKLaboklab(82.01% -0.0853 0.1554)
OKLCHoklch(82.01% 0.177 118.7)
XYZxyz(43.8786, 57.1335, 11.7333)
Luminance0.5713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9D332 #4C32D3
analogous
#D39C32 #B9D332 #68D332
triadic
#B9D332 #32B9D3 #D332B9
tetradic
#B9D332 #32D39C #4C32D3 #D33268
square
#B9D332 #32D39C #4C32D3 #D33268
split-complementary
#B9D332 #3268D3 #9C32D3
monochromatic
#647218 #90A423 #B9D332 #CADE64 #DBE997

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9D332#FFFFFF#000000##000000
##B9D3321.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)
#E1C701
Deuteranopia (green-blind)
#DEC841
Tritanopia (blue-blind)
#C4C7B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #b9d332;
/* rgb */ color: rgb(185, 211, 50);
/* oklch */ color: oklch(82.0% 0.177 118.7);
Tailwind
colors: {
  custom: {
    50: '#d2e077',
    500: '#b9d332',
    950: '#000000',
  },
}
SCSS
$custom: #b9d332;
$custom-light: #d2e077;
$custom-dark: #000000;
JSON
{
  "hex": "#b9d332",
  "rgb": {
    "r": 185,
    "g": 211,
    "b": 50
  },
  "hsl": {
    "h": 69.689,
    "s": 64.659,
    "l": 51.176
  },
  "oklch": {
    "l": 0.82007,
    "c": 0.17728,
    "h": 118.7
  },
  "luminance": 0.57133
}

Semantic roles & 50–950 ramp

primary
#B9D332
secondary
#3B2E7B
accent
#40E85B
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#15150A
muted
#84847D

Preview Lab

Preview with #B9D332

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

Preview Lab → · Contrast checker → · Palette generator →

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