#C9CD39#C9CD39

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

Color values

HEX#C9CD39
RGBrgb(201, 205, 57)
HSLhsl(62, 60%, 51%)
HSVhsv(62, 72%, 80%)
CMYKcmyk(2%, 0%, 72.2%, 19.6%)
CIE-LABlab(79.83, -18.62, 68.55)
CIE-LCHlch(79.83, 71.04, 105.20°)
OKLaboklab(81.97% -0.0583 0.1514)
OKLCHoklch(81.97% 0.162 111.1)
XYZxyz(46.6588, 56.3768, 12.2941)
Luminance0.5638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CD39 #3D39CD
analogous
#CD8739 #C9CD39 #7FCD39
triadic
#C9CD39 #39C9CD #CD39C9
tetradic
#C9CD39 #39CD87 #3D39CD #CD397F
square
#C9CD39 #39CD87 #3D39CD #CD397F
split-complementary
#C9CD39 #397FCD #8739CD
monochromatic
#6D6F1C #9DA028 #C9CD39 #D6D96A #E4E69B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9CD39#FFFFFF#000000##000000
##C9CD391.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)
#DDC41C
Deuteranopia (green-blind)
#DEC845
Tritanopia (blue-blind)
#D7C0B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c9cd39;
/* rgb */ color: rgb(201, 205, 57);
/* oklch */ color: oklch(82.0% 0.162 111.1);
Tailwind
colors: {
  custom: {
    50: '#dddc7a',
    500: '#c9cd39',
    950: '#000000',
  },
}
SCSS
$custom: #c9cd39;
$custom-light: #dddc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c9cd39",
  "rgb": {
    "r": 201,
    "g": 205,
    "b": 57
  },
  "hsl": {
    "h": 61.622,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81971,
    "c": 0.16222,
    "h": 111.1
  },
  "luminance": 0.56376
}

Semantic roles & 50–950 ramp

primary
#C9CD39
secondary
#333279
accent
#45E349
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #C9CD39

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

Preview Lab → · Contrast checker → · Palette generator →

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