#B9CD3A#B9CD3A

#B9CD3A 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#B9CD3A
RGBrgb(185, 205, 58)
HSLhsl(68, 60%, 52%)
HSVhsv(68, 72%, 80%)
CMYKcmyk(9.8%, 0%, 71.7%, 19.6%)
CIE-LABlab(78.63, -25.22, 66.64)
CIE-LCHlch(78.63, 71.25, 110.73°)
OKLaboklab(80.71% -0.0757 0.148)
OKLCHoklch(80.71% 0.166 117.1)
XYZxyz(42.6036, 54.2829, 12.2355)
Luminance0.5428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CD3A #4E3ACD
analogous
#CD983A #B9CD3A #70CD3A
triadic
#B9CD3A #3AB9CD #CD3AB9
tetradic
#B9CD3A #3ACD98 #4E3ACD #CD3A70
square
#B9CD3A #3ACD98 #4E3ACD #CD3A70
split-complementary
#B9CD3A #3A70CD #983ACD
monochromatic
#65701C #91A129 #B9CD3A #CAD96B #DCE69C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9CD3A#FFFFFF#000000##000000
##B9CD3A1.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)
#DBC21E
Deuteranopia (green-blind)
#D9C346
Tritanopia (blue-blind)
#C4C2B1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b9cd3a;
/* rgb */ color: rgb(185, 205, 58);
/* oklch */ color: oklch(80.7% 0.166 117.1);
Tailwind
colors: {
  custom: {
    50: '#d2dc7a',
    500: '#b9cd3a',
    950: '#000000',
  },
}
SCSS
$custom: #b9cd3a;
$custom-light: #d2dc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cd3a",
  "rgb": {
    "r": 185,
    "g": 205,
    "b": 58
  },
  "hsl": {
    "h": 68.163,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80711,
    "c": 0.16623,
    "h": 117.1
  },
  "luminance": 0.54282
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9CD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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