#B9CC3C#B9CC3C

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

Color values

HEX#B9CC3C
RGBrgb(185, 204, 60)
HSLhsl(68, 59%, 52%)
HSVhsv(68, 71%, 80%)
CMYKcmyk(9.3%, 0%, 70.6%, 20%)
CIE-LABlab(78.36, -24.63, 65.67)
CIE-LCHlch(78.36, 70.14, 110.56°)
OKLaboklab(80.5% -0.0739 0.1463)
OKLCHoklch(80.5% 0.164 116.8)
XYZxyz(42.4171, 53.8268, 12.4292)
Luminance0.5383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CC3C #4F3CCC
analogous
#CC973C #B9CC3C #71CC3C
triadic
#B9CC3C #3CB9CC #CC3CB9
tetradic
#B9CC3C #3CCC97 #4F3CCC #CC3C71
square
#B9CC3C #3CCC97 #4F3CCC #CC3C71
split-complementary
#B9CC3C #3C71CC #973CCC
monochromatic
#65701D #91A12A #B9CC3C #CAD96D #DCE59D

Accessibility & contrast

On white

1.78
#B9CC3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#B9CC3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CC3C
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CC3C#FFFFFF#000000##000000
##B9CC3C1.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC123
Deuteranopia (green-blind)
#D8C348
Tritanopia (blue-blind)
#C4C1B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b9cc3c;
/* rgb */ color: rgb(185, 204, 60);
/* oklch */ color: oklch(80.5% 0.164 116.8);
Tailwind
colors: {
  custom: {
    50: '#d1db7b',
    500: '#b9cc3c',
    950: '#000000',
  },
}
SCSS
$custom: #b9cc3c;
$custom-light: #d1db7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cc3c",
  "rgb": {
    "r": 185,
    "g": 204,
    "b": 60
  },
  "hsl": {
    "h": 67.917,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.80501,
    "c": 0.1639,
    "h": 116.8
  },
  "luminance": 0.53826
}

Semantic roles & 50–950 ramp

primary
#B9CC3C
secondary
#3C3379
accent
#46E25B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B9CC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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