#C9CC2D#C9CC2D

#C9CC2D 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#C9CC2D
RGBrgb(201, 204, 45)
HSLhsl(61, 64%, 49%)
HSVhsv(61, 78%, 80%)
CMYKcmyk(1.5%, 0%, 77.9%, 20%)
CIE-LABlab(79.50, -18.62, 72.01)
CIE-LCHlch(79.50, 74.38, 104.50°)
OKLaboklab(81.69% -0.0593 0.1566)
OKLCHoklch(81.69% 0.167 110.7)
XYZxyz(46.1556, 55.7940, 10.8201)
Luminance0.5579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CC2D #302DCC
analogous
#CC802D #C9CC2D #7ACC2D
triadic
#C9CC2D #2DC9CC #CC2DC9
tetradic
#C9CC2D #2DCC80 #302DCC #CC2D7A
square
#C9CC2D #2DCC80 #302DCC #CC2D7A
split-complementary
#C9CC2D #2D7ACC #802DCC
monochromatic
#666817 #989A22 #C9CC2D #D8DB5B #E4E68D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9CC2D#FFFFFF#000000##000000
##C9CC2D1.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)
#DEC73B
Tritanopia (blue-blind)
#D7BFAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c9cc2d;
/* rgb */ color: rgb(201, 204, 45);
/* oklch */ color: oklch(81.7% 0.167 110.7);
Tailwind
colors: {
  custom: {
    50: '#dddb74',
    500: '#c9cc2d',
    950: '#000000',
  },
}
SCSS
$custom: #c9cc2d;
$custom-light: #dddb74;
$custom-dark: #000000;
JSON
{
  "hex": "#c9cc2d",
  "rgb": {
    "r": 201,
    "g": 204,
    "b": 45
  },
  "hsl": {
    "h": 61.132,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.81687,
    "c": 0.16746,
    "h": 110.7
  },
  "luminance": 0.55793
}

Semantic roles & 50–950 ramp

primary
#C9CC2D
secondary
#2D2B72
accent
#41E744
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C9CC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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