#C9CC3E#C9CC3E

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

Color values

HEX#C9CC3E
RGBrgb(201, 204, 62)
HSLhsl(61, 58%, 52%)
HSVhsv(61, 70%, 80%)
CMYKcmyk(1.5%, 0%, 69.6%, 20%)
CIE-LABlab(79.59, -17.89, 66.56)
CIE-LCHlch(79.59, 68.93, 105.04°)
OKLaboklab(81.79% -0.0558 0.148)
OKLCHoklch(81.79% 0.158 110.6)
XYZxyz(46.5513, 55.9523, 12.9042)
Luminance0.5595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CC3E #413ECC
analogous
#CC883E #C9CC3E #82CC3E
triadic
#C9CC3E #3EC9CC #CC3EC9
tetradic
#C9CC3E #3ECC88 #413ECC #CC3E82
square
#C9CC3E #3ECC88 #413ECC #CC3E82
split-complementary
#C9CC3E #3E82CC #883ECC
monochromatic
#70721E #9FA22B #C9CC3E #D7D96E #E4E69F

Accessibility & contrast

On white

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

On black

12.19
#C9CC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9CC3E
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9CC3E#FFFFFF#000000##000000
##C9CC3E1.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC326
Deuteranopia (green-blind)
#DDC748
Tritanopia (blue-blind)
#D7BFB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c9cc3e;
/* rgb */ color: rgb(201, 204, 62);
/* oklch */ color: oklch(81.8% 0.158 110.6);
Tailwind
colors: {
  custom: {
    50: '#dddb7c',
    500: '#c9cc3e',
    950: '#000000',
  },
}
SCSS
$custom: #c9cc3e;
$custom-light: #dddb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c9cc3e",
  "rgb": {
    "r": 201,
    "g": 204,
    "b": 62
  },
  "hsl": {
    "h": 61.268,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81788,
    "c": 0.1582,
    "h": 110.6
  },
  "luminance": 0.55951
}

Semantic roles & 50–950 ramp

primary
#C9CC3E
secondary
#35347B
accent
#46E14A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #C9CC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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