#B9C732#B9C732

#B9C732 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.3% C 0.164 H 115.0°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#B9C732
RGBrgb(185, 199, 50)
HSLhsl(66, 60%, 49%)
HSVhsv(66, 75%, 78%)
CMYKcmyk(7%, 0%, 74.9%, 22%)
CIE-LABlab(76.92, -22.68, 67.69)
CIE-LCHlch(76.92, 71.39, 108.53°)
OKLaboklab(79.32% -0.0693 0.1489)
OKLCHoklch(79.32% 0.164 115)
XYZxyz(41.0079, 51.3922, 10.7764)
Luminance0.5139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C732 #4032C7
analogous
#C78B32 #B9C732 #6FC732
triadic
#B9C732 #32B9C7 #C732B9
tetradic
#B9C732 #32C78B #4032C7 #C7326F
square
#B9C732 #32C78B #4032C7 #C7326F
split-complementary
#B9C732 #326FC7 #8B32C7
monochromatic
#5E6519 #8C9626 #B9C732 #CCD75F #DBE390

Accessibility & contrast

On white

1.86
#B9C732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#B9C732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C732
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C732#FFFFFF#000000##000000
##B9C7321.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD0D
Deuteranopia (green-blind)
#D5BF3F
Tritanopia (blue-blind)
#C5BBAB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b9c732;
/* rgb */ color: rgb(185, 199, 50);
/* oklch */ color: oklch(79.3% 0.164 115.0);
Tailwind
colors: {
  custom: {
    50: '#d2d775',
    500: '#b9c732',
    950: '#000000',
  },
}
SCSS
$custom: #b9c732;
$custom-light: #d2d775;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c732",
  "rgb": {
    "r": 185,
    "g": 199,
    "b": 50
  },
  "hsl": {
    "h": 65.638,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79323,
    "c": 0.16423,
    "h": 115
  },
  "luminance": 0.51391
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9C732

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

Preview Lab → · Contrast checker → · Palette generator →

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