#C9CC4C#C9CC4C

#C9CC4C is a light, vivid yellow. Relative luminance 0.561; OKLCH L 81.9% C 0.148 H 110.6°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#C9CC4C
RGBrgb(201, 204, 76)
HSLhsl(61, 56%, 55%)
HSVhsv(61, 63%, 80%)
CMYKcmyk(1.5%, 0%, 62.7%, 20%)
CIE-LABlab(79.69, -17.09, 61.24)
CIE-LCHlch(79.69, 63.58, 105.59°)
OKLaboklab(81.9% -0.0521 0.139)
OKLCHoklch(81.9% 0.148 110.6)
XYZxyz(46.9862, 56.1262, 15.1944)
Luminance0.5613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CC4C #4F4CCC
analogous
#CC8F4C #C9CC4C #89CC4C
triadic
#C9CC4C #4CC9CC #CC4CC9
tetradic
#C9CC4C #4CCC8F #4F4CCC #CC4C89
square
#C9CC4C #4CCC8F #4F4CCC #CC4C89
split-complementary
#C9CC4C #4C89CC #8F4CCC
monochromatic
#797B23 #A7AA31 #C9CC4C #D7DA7C #E6E7AB

Accessibility & contrast

On white

1.72
#C9CC4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#C9CC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9CC4C
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9CC4C#FFFFFF#000000##000000
##C9CC4C1.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC33C
Deuteranopia (green-blind)
#DCC754
Tritanopia (blue-blind)
#D6C0B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c9cc4c;
/* rgb */ color: rgb(201, 204, 76);
/* oklch */ color: oklch(81.9% 0.148 110.6);
Tailwind
colors: {
  custom: {
    50: '#dcdb84',
    500: '#c9cc4c',
    950: '#000000',
  },
}
SCSS
$custom: #c9cc4c;
$custom-light: #dcdb84;
$custom-dark: #000000;
JSON
{
  "hex": "#c9cc4c",
  "rgb": {
    "r": 201,
    "g": 204,
    "b": 76
  },
  "hsl": {
    "h": 61.406,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81898,
    "c": 0.14847,
    "h": 110.6
  },
  "luminance": 0.56125
}

Semantic roles & 50–950 ramp

primary
#C9CC4C
secondary
#3B3983
accent
#49DF4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C9CC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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