#C9CD33#C9CD33

#C9CD33 is a light, vivid yellow. Relative luminance 0.563; OKLCH L 81.9% C 0.166 H 111.1°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#C9CD33
RGBrgb(201, 205, 51)
HSLhsl(62, 61%, 50%)
HSVhsv(62, 75%, 80%)
CMYKcmyk(2%, 0%, 75.1%, 19.6%)
CIE-LABlab(79.80, -18.88, 70.48)
CIE-LCHlch(79.80, 72.97, 105.00°)
OKLaboklab(81.94% -0.0595 0.1544)
OKLCHoklch(81.94% 0.166 111.1)
XYZxyz(46.5179, 56.3204, 11.5518)
Luminance0.5632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CD33 #3733CD
analogous
#CD8433 #C9CD33 #7CCD33
triadic
#C9CD33 #33C9CD #CD33C9
tetradic
#C9CD33 #33CD84 #3733CD #CD337C
square
#C9CD33 #33CD84 #3733CD #CD337C
split-complementary
#C9CD33 #337CCD #8433CD
monochromatic
#696B1A #999C26 #C9CD33 #D6D964 #E3E595

Accessibility & contrast

On white

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

On black

12.26
#C9CD33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9CD33
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9CD33#FFFFFF#000000##000000
##C9CD331.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC40A
Deuteranopia (green-blind)
#DEC840
Tritanopia (blue-blind)
#D7C0B0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c9cd33;
/* rgb */ color: rgb(201, 205, 51);
/* oklch */ color: oklch(81.9% 0.166 111.1);
Tailwind
colors: {
  custom: {
    50: '#dddc77',
    500: '#c9cd33',
    950: '#000000',
  },
}
SCSS
$custom: #c9cd33;
$custom-light: #dddc77;
$custom-dark: #000000;
JSON
{
  "hex": "#c9cd33",
  "rgb": {
    "r": 201,
    "g": 205,
    "b": 51
  },
  "hsl": {
    "h": 61.558,
    "s": 60.63,
    "l": 50.196
  },
  "oklch": {
    "l": 0.81935,
    "c": 0.1655,
    "h": 111.1
  },
  "luminance": 0.56319
}

Semantic roles & 50–950 ramp

primary
#C9CD33
secondary
#312F75
accent
#44E448
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161509
muted
#84847D

Preview Lab

Preview with #C9CD33

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

Preview Lab → · Contrast checker → · Palette generator →

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