#B9CD3B#B9CD3B

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

Color values

HEX#B9CD3B
RGBrgb(185, 205, 59)
HSLhsl(68, 59%, 52%)
HSVhsv(68, 71%, 80%)
CMYKcmyk(9.8%, 0%, 71.2%, 19.6%)
CIE-LABlab(78.63, -25.17, 66.29)
CIE-LCHlch(78.63, 70.91, 110.79°)
OKLaboklab(80.72% -0.0754 0.1475)
OKLCHoklch(80.72% 0.166 117.1)
XYZxyz(42.6293, 54.2932, 12.3708)
Luminance0.5429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CD3B #4F3BCD
analogous
#CD983B #B9CD3B #70CD3B
triadic
#B9CD3B #3BB9CD #CD3BB9
tetradic
#B9CD3B #3BCD98 #4F3BCD #CD3B70
square
#B9CD3B #3BCD98 #4F3BCD #CD3B70
split-complementary
#B9CD3B #3B70CD #983BCD
monochromatic
#65711D #91A229 #B9CD3B #CAD96C #DCE69D

Accessibility & contrast

On white

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

On black

11.86
#B9CD3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CD3B
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CD3B#FFFFFF#000000##000000
##B9CD3B1.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC220
Deuteranopia (green-blind)
#D9C347
Tritanopia (blue-blind)
#C4C2B1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b9cd3b;
/* rgb */ color: rgb(185, 205, 59);
/* oklch */ color: oklch(80.7% 0.166 117.1);
Tailwind
colors: {
  custom: {
    50: '#d1dc7b',
    500: '#b9cd3b',
    950: '#000000',
  },
}
SCSS
$custom: #b9cd3b;
$custom-light: #d1dc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cd3b",
  "rgb": {
    "r": 185,
    "g": 205,
    "b": 59
  },
  "hsl": {
    "h": 68.219,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.80717,
    "c": 0.16562,
    "h": 117.1
  },
  "luminance": 0.54293
}

Semantic roles & 50–950 ramp

primary
#B9CD3B
secondary
#3C327A
accent
#45E35B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B9CD3B

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

Preview Lab → · Contrast checker → · Palette generator →

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