#C9CC42#C9CC42

#C9CC42 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.8% C 0.156 H 110.6°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#C9CC42
RGBrgb(201, 204, 66)
HSLhsl(61, 58%, 53%)
HSVhsv(61, 68%, 80%)
CMYKcmyk(1.5%, 0%, 67.6%, 20%)
CIE-LABlab(79.61, -17.68, 65.11)
CIE-LCHlch(79.61, 67.47, 105.19°)
OKLaboklab(81.82% -0.0548 0.1457)
OKLCHoklch(81.82% 0.156 110.6)
XYZxyz(46.6651, 55.9978, 13.5037)
Luminance0.5600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CC42 #4542CC
analogous
#CC8A42 #C9CC42 #84CC42
triadic
#C9CC42 #42C9CC #CC42C9
tetradic
#C9CC42 #42CC8A #4542CC #CC4284
square
#C9CC42 #42CC8A #4542CC #CC4284
split-complementary
#C9CC42 #4284CC #8A42CC
monochromatic
#72741F #A2A42C #C9CC42 #D7D972 #E5E6A2

Accessibility & contrast

On white

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

On black

12.20
#C9CC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9CC42
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9CC42#FFFFFF#000000##000000
##C9CC421.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC32D
Deuteranopia (green-blind)
#DDC74C
Tritanopia (blue-blind)
#D7C0B0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c9cc42;
/* rgb */ color: rgb(201, 204, 66);
/* oklch */ color: oklch(81.8% 0.156 110.6);
Tailwind
colors: {
  custom: {
    50: '#dddb7e',
    500: '#c9cc42',
    950: '#000000',
  },
}
SCSS
$custom: #c9cc42;
$custom-light: #dddb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c9cc42",
  "rgb": {
    "r": 201,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 61.304,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81817,
    "c": 0.15561,
    "h": 110.6
  },
  "luminance": 0.55997
}

Semantic roles & 50–950 ramp

primary
#C9CC42
secondary
#37357D
accent
#47E14A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C9CC42

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

Preview Lab → · Contrast checker → · Palette generator →

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