#B9CC39#B9CC39

#B9CC39 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.5% C 0.166 H 116.7°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#B9CC39
RGBrgb(185, 204, 57)
HSLhsl(68, 59%, 51%)
HSVhsv(68, 72%, 80%)
CMYKcmyk(9.3%, 0%, 72.1%, 20%)
CIE-LABlab(78.34, -24.79, 66.71)
CIE-LCHlch(78.34, 71.16, 110.38°)
OKLaboklab(80.48% -0.0745 0.148)
OKLCHoklch(80.48% 0.166 116.7)
XYZxyz(42.3400, 53.7960, 12.0233)
Luminance0.5380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CC39 #4C39CC
analogous
#CC9539 #B9CC39 #6FCC39
triadic
#B9CC39 #39B9CC #CC39B9
tetradic
#B9CC39 #39CC95 #4C39CC #CC396F
square
#B9CC39 #39CC95 #4C39CC #CC396F
split-complementary
#B9CC39 #396FCC #9539CC
monochromatic
#646E1C #909F29 #B9CC39 #CAD96A #DBE59A

Accessibility & contrast

On white

1.79
#B9CC39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#B9CC39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CC39
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CC39#FFFFFF#000000##000000
##B9CC391.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC11D
Deuteranopia (green-blind)
#D8C345
Tritanopia (blue-blind)
#C5C0B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b9cc39;
/* rgb */ color: rgb(185, 204, 57);
/* oklch */ color: oklch(80.5% 0.166 116.7);
Tailwind
colors: {
  custom: {
    50: '#d2db79',
    500: '#b9cc39',
    950: '#000000',
  },
}
SCSS
$custom: #b9cc39;
$custom-light: #d2db79;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cc39",
  "rgb": {
    "r": 185,
    "g": 204,
    "b": 57
  },
  "hsl": {
    "h": 67.755,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.80481,
    "c": 0.16572,
    "h": 116.7
  },
  "luminance": 0.53795
}

Semantic roles & 50–950 ramp

primary
#B9CC39
secondary
#3B3278
accent
#46E25A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B9CC39

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

Preview Lab → · Contrast checker → · Palette generator →

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