#B9C832#B9C832

#B9C832 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.5% C 0.165 H 115.3°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#B9C832
RGBrgb(185, 200, 50)
HSLhsl(66, 60%, 49%)
HSVhsv(66, 75%, 78%)
CMYKcmyk(7.5%, 0%, 75%, 21.6%)
CIE-LABlab(77.19, -23.17, 67.95)
CIE-LCHlch(77.19, 71.79, 108.83°)
OKLaboklab(79.55% -0.0707 0.1494)
OKLCHoklch(79.55% 0.165 115.3)
XYZxyz(41.2387, 51.8538, 10.8534)
Luminance0.5185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C832 #4132C8
analogous
#C88C32 #B9C832 #6EC832
triadic
#B9C832 #32B9C8 #C832B9
tetradic
#B9C832 #32C88C #4132C8 #C8326E
square
#B9C832 #32C88C #4132C8 #C8326E
split-complementary
#B9C832 #326EC8 #8C32C8
monochromatic
#5E661A #8C9726 #B9C832 #CBD760 #DBE391

Accessibility & contrast

On white

1.85
#B9C832 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#B9C832 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C832
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C832#FFFFFF#000000##000000
##B9C8321.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE0D
Deuteranopia (green-blind)
#D5C03F
Tritanopia (blue-blind)
#C5BCAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b9c832;
/* rgb */ color: rgb(185, 200, 50);
/* oklch */ color: oklch(79.5% 0.165 115.3);
Tailwind
colors: {
  custom: {
    50: '#d2d876',
    500: '#b9c832',
    950: '#000000',
  },
}
SCSS
$custom: #b9c832;
$custom-light: #d2d876;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c832",
  "rgb": {
    "r": 185,
    "g": 200,
    "b": 50
  },
  "hsl": {
    "h": 66,
    "s": 60,
    "l": 49.02
  },
  "oklch": {
    "l": 0.79546,
    "c": 0.16529,
    "h": 115.3
  },
  "luminance": 0.51853
}

Semantic roles & 50–950 ramp

primary
#B9C832
secondary
#352E70
accent
#45E354
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #B9C832

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

Preview Lab → · Contrast checker → · Palette generator →

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