#C9CC2F#C9CC2F

#C9CC2F is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.7% C 0.167 H 110.7°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#C9CC2F
RGBrgb(201, 204, 47)
HSLhsl(61, 63%, 49%)
HSVhsv(61, 77%, 80%)
CMYKcmyk(1.5%, 0%, 77%, 20%)
CIE-LABlab(79.51, -18.54, 71.44)
CIE-LCHlch(79.51, 73.81, 104.55°)
OKLaboklab(81.7% -0.0589 0.1558)
OKLCHoklch(81.7% 0.167 110.7)
XYZxyz(46.1950, 55.8098, 11.0277)
Luminance0.5581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CC2F #322FCC
analogous
#CC802F #C9CC2F #7BCC2F
triadic
#C9CC2F #2FC9CC #CC2FC9
tetradic
#C9CC2F #2FCC80 #322FCC #CC2F7B
square
#C9CC2F #2FCC80 #322FCC #CC2F7B
split-complementary
#C9CC2F #2F7BCC #802FCC
monochromatic
#676918 #989A24 #C9CC2F #D8DA5E #E4E590

Accessibility & contrast

On white

1.73
#C9CC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.16
#C9CC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9CC2F
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9CC2F#FFFFFF#000000##000000
##C9CC2F1.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC300
Deuteranopia (green-blind)
#DEC73D
Tritanopia (blue-blind)
#D7BFAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c9cc2f;
/* rgb */ color: rgb(201, 204, 47);
/* oklch */ color: oklch(81.7% 0.167 110.7);
Tailwind
colors: {
  custom: {
    50: '#dddb75',
    500: '#c9cc2f',
    950: '#000000',
  },
}
SCSS
$custom: #c9cc2f;
$custom-light: #dddb75;
$custom-dark: #000000;
JSON
{
  "hex": "#c9cc2f",
  "rgb": {
    "r": 201,
    "g": 204,
    "b": 47
  },
  "hsl": {
    "h": 61.146,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.81697,
    "c": 0.16652,
    "h": 110.7
  },
  "luminance": 0.55808
}

Semantic roles & 50–950 ramp

primary
#C9CC2F
secondary
#2E2D72
accent
#42E645
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C9CC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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