#C9CD3C#C9CD3C

#C9CD3C is a light, vivid yellow. Relative luminance 0.564; OKLCH L 82.0% C 0.160 H 111.0°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#C9CD3C
RGBrgb(201, 205, 60)
HSLhsl(62, 59%, 52%)
HSVhsv(62, 71%, 80%)
CMYKcmyk(2%, 0%, 70.7%, 19.6%)
CIE-LABlab(79.85, -18.48, 67.53)
CIE-LCHlch(79.85, 70.01, 105.30°)
OKLaboklab(81.99% -0.0576 0.1498)
OKLCHoklch(81.99% 0.16 111)
XYZxyz(46.7359, 56.4076, 12.6999)
Luminance0.5641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CD3C #403CCD
analogous
#CD893C #C9CD3C #81CD3C
triadic
#C9CD3C #3CC9CD #CD3CC9
tetradic
#C9CD3C #3CCD89 #403CCD #CD3C81
square
#C9CD3C #3CCD89 #403CCD #CD3C81
split-complementary
#C9CD3C #3C81CD #893CCD
monochromatic
#6F711D #9FA22A #C9CD3C #D6D96D #E4E69D

Accessibility & contrast

On white

1.71
#C9CD3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#C9CD3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9CD3C
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9CD3C#FFFFFF#000000##000000
##C9CD3C1.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC422
Deuteranopia (green-blind)
#DEC847
Tritanopia (blue-blind)
#D7C0B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c9cd3c;
/* rgb */ color: rgb(201, 205, 60);
/* oklch */ color: oklch(82.0% 0.160 111.0);
Tailwind
colors: {
  custom: {
    50: '#dddc7b',
    500: '#c9cd3c',
    950: '#000000',
  },
}
SCSS
$custom: #c9cd3c;
$custom-light: #dddc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c9cd3c",
  "rgb": {
    "r": 201,
    "g": 205,
    "b": 60
  },
  "hsl": {
    "h": 61.655,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.8199,
    "c": 0.16045,
    "h": 111
  },
  "luminance": 0.56406
}

Semantic roles & 50–950 ramp

primary
#C9CD3C
secondary
#35337A
accent
#45E24A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #C9CD3C

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

Preview Lab → · Contrast checker → · Palette generator →

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