#B9CD39#B9CD39

#B9CD39 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 80.7% C 0.167 H 117.1°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#B9CD39
RGBrgb(185, 205, 57)
HSLhsl(68, 60%, 51%)
HSVhsv(68, 72%, 80%)
CMYKcmyk(9.8%, 0%, 72.2%, 19.6%)
CIE-LABlab(78.62, -25.27, 66.98)
CIE-LCHlch(78.62, 71.58, 110.67°)
OKLaboklab(80.7% -0.0759 0.1486)
OKLCHoklch(80.7% 0.167 117.1)
XYZxyz(42.5784, 54.2729, 12.1028)
Luminance0.5427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CD39 #4D39CD
analogous
#CD9739 #B9CD39 #6FCD39
triadic
#B9CD39 #39B9CD #CD39B9
tetradic
#B9CD39 #39CD97 #4D39CD #CD396F
square
#B9CD39 #39CD97 #4D39CD #CD396F
split-complementary
#B9CD39 #396FCD #9739CD
monochromatic
#646F1C #90A028 #B9CD39 #CAD96A #DCE69B

Accessibility & contrast

On white

1.77
#B9CD39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#B9CD39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CD39
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CD39#FFFFFF#000000##000000
##B9CD391.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21C
Deuteranopia (green-blind)
#D9C345
Tritanopia (blue-blind)
#C4C1B0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b9cd39;
/* rgb */ color: rgb(185, 205, 57);
/* oklch */ color: oklch(80.7% 0.167 117.1);
Tailwind
colors: {
  custom: {
    50: '#d2dc7a',
    500: '#b9cd39',
    950: '#000000',
  },
}
SCSS
$custom: #b9cd39;
$custom-light: #d2dc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cd39",
  "rgb": {
    "r": 185,
    "g": 205,
    "b": 57
  },
  "hsl": {
    "h": 68.108,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.80704,
    "c": 0.16682,
    "h": 117.1
  },
  "luminance": 0.54272
}

Semantic roles & 50–950 ramp

primary
#B9CD39
secondary
#3B3279
accent
#45E35A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B9CD39

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

Preview Lab → · Contrast checker → · Palette generator →

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