#C9CD3E#C9CD3E

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

Color values

HEX#C9CD3E
RGBrgb(201, 205, 62)
HSLhsl(62, 59%, 52%)
HSVhsv(62, 70%, 80%)
CMYKcmyk(2%, 0%, 69.8%, 19.6%)
CIE-LABlab(79.86, -18.38, 66.83)
CIE-LCHlch(79.86, 69.31, 105.38°)
OKLaboklab(82% -0.0571 0.1486)
OKLCHoklch(82% 0.159 111)
XYZxyz(46.7898, 56.4292, 12.9837)
Luminance0.5643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CD3E #423ECD
analogous
#CD893E #C9CD3E #82CD3E
triadic
#C9CD3E #3EC9CD #CD3EC9
tetradic
#C9CD3E #3ECD89 #423ECD #CD3E82
square
#C9CD3E #3ECD89 #423ECD #CD3E82
split-complementary
#C9CD3E #3E82CD #893ECD
monochromatic
#70731E #A0A32A #C9CD3E #D7DA6F #E4E69F

Accessibility & contrast

On white

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

On black

12.29
#C9CD3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9CD3E
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9CD3E#FFFFFF#000000##000000
##C9CD3E1.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c9cd3e;
/* rgb */ color: rgb(201, 205, 62);
/* oklch */ color: oklch(82.0% 0.159 111.0);
Tailwind
colors: {
  custom: {
    50: '#dddc7c',
    500: '#c9cd3e',
    950: '#000000',
  },
}
SCSS
$custom: #c9cd3e;
$custom-light: #dddc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c9cd3e",
  "rgb": {
    "r": 201,
    "g": 205,
    "b": 62
  },
  "hsl": {
    "h": 61.678,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.82004,
    "c": 0.15922,
    "h": 111
  },
  "luminance": 0.56428
}

Semantic roles & 50–950 ramp

primary
#C9CD3E
secondary
#36347C
accent
#46E24A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #C9CD3E

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

Preview Lab → · Contrast checker → · Palette generator →

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