#B9CC4C#B9CC4C

#B9CC4C is a light, vivid yellow. Relative luminance 0.540; OKLCH L 80.6% C 0.153 H 117.1°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#B9CC4C
RGBrgb(185, 204, 76)
HSLhsl(69, 56%, 55%)
HSVhsv(69, 63%, 80%)
CMYKcmyk(9.3%, 0%, 62.7%, 20%)
CIE-LABlab(78.47, -23.66, 59.59)
CIE-LCHlch(78.47, 64.11, 111.66°)
OKLaboklab(80.63% -0.0696 0.1359)
OKLCHoklch(80.63% 0.153 117.1)
XYZxyz(42.9058, 54.0223, 15.0031)
Luminance0.5402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CC4C #5F4CCC
analogous
#CC9F4C #B9CC4C #79CC4C
triadic
#B9CC4C #4CB9CC #CC4CB9
tetradic
#B9CC4C #4CCC9F #5F4CCC #CC4C79
square
#B9CC4C #4CCC9F #5F4CCC #CC4C79
split-complementary
#B9CC4C #4C79CC #9F4CCC
monochromatic
#6E7B23 #98AA31 #B9CC4C #CCDA7C #DEE7AB

Accessibility & contrast

On white

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

On black

11.80
#B9CC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CC4C
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CC4C#FFFFFF#000000##000000
##B9CC4C1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23C
Deuteranopia (green-blind)
#D7C355
Tritanopia (blue-blind)
#C4C1B1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b9cc4c;
/* rgb */ color: rgb(185, 204, 76);
/* oklch */ color: oklch(80.6% 0.153 117.1);
Tailwind
colors: {
  custom: {
    50: '#d1db84',
    500: '#b9cc4c',
    950: '#000000',
  },
}
SCSS
$custom: #b9cc4c;
$custom-light: #d1db84;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cc4c",
  "rgb": {
    "r": 185,
    "g": 204,
    "b": 76
  },
  "hsl": {
    "h": 68.906,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80629,
    "c": 0.15271,
    "h": 117.1
  },
  "luminance": 0.54022
}

Semantic roles & 50–950 ramp

primary
#B9CC4C
secondary
#443983
accent
#49DF5F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B9CC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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