#B9CC3A#B9CC3A

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

Color values

HEX#B9CC3A
RGBrgb(185, 204, 58)
HSLhsl(68, 59%, 51%)
HSVhsv(68, 72%, 80%)
CMYKcmyk(9.3%, 0%, 71.6%, 20%)
CIE-LABlab(78.35, -24.74, 66.37)
CIE-LCHlch(78.35, 70.83, 110.44°)
OKLaboklab(80.49% -0.0743 0.1474)
OKLCHoklch(80.49% 0.165 116.8)
XYZxyz(42.3652, 53.8061, 12.1560)
Luminance0.5381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CC3A #4D3ACC
analogous
#CC963A #B9CC3A #70CC3A
triadic
#B9CC3A #3AB9CC #CC3AB9
tetradic
#B9CC3A #3ACC96 #4D3ACC #CC3A70
square
#B9CC3A #3ACC96 #4D3ACC #CC3A70
split-complementary
#B9CC3A #3A70CC #963ACC
monochromatic
#646F1D #90A029 #B9CC3A #CAD96B #DCE59B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9CC3A#FFFFFF#000000##000000
##B9CC3A1.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)
#DAC11F
Deuteranopia (green-blind)
#D8C346
Tritanopia (blue-blind)
#C5C1B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b9cc3a;
/* rgb */ color: rgb(185, 204, 58);
/* oklch */ color: oklch(80.5% 0.165 116.8);
Tailwind
colors: {
  custom: {
    50: '#d1db7a',
    500: '#b9cc3a',
    950: '#000000',
  },
}
SCSS
$custom: #b9cc3a;
$custom-light: #d1db7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cc3a",
  "rgb": {
    "r": 185,
    "g": 204,
    "b": 58
  },
  "hsl": {
    "h": 67.808,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.80488,
    "c": 0.16512,
    "h": 116.8
  },
  "luminance": 0.53806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9CC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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