#C9CD42#C9CD42

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

Color values

HEX#C9CD42
RGBrgb(201, 205, 66)
HSLhsl(62, 58%, 53%)
HSVhsv(62, 68%, 80%)
CMYKcmyk(2%, 0%, 67.8%, 19.6%)
CIE-LABlab(79.88, -18.17, 65.38)
CIE-LCHlch(79.88, 67.86, 105.53°)
OKLaboklab(82.03% -0.0562 0.1462)
OKLCHoklch(82.03% 0.157 111)
XYZxyz(46.9036, 56.4747, 13.5832)
Luminance0.5647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CD42 #4642CD
analogous
#CD8C42 #C9CD42 #83CD42
triadic
#C9CD42 #42C9CD #CD42C9
tetradic
#C9CD42 #42CD8C #4642CD #CD4283
square
#C9CD42 #42CD8C #4642CD #CD4283
split-complementary
#C9CD42 #4283CD #8C42CD
monochromatic
#73761F #A2A62C #C9CD42 #D7DA72 #E5E7A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9CD42#FFFFFF#000000##000000
##C9CD421.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)
#DDC42C
Deuteranopia (green-blind)
#DEC84C
Tritanopia (blue-blind)
#D7C1B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c9cd42;
/* rgb */ color: rgb(201, 205, 66);
/* oklch */ color: oklch(82.0% 0.157 111.0);
Tailwind
colors: {
  custom: {
    50: '#dddc7e',
    500: '#c9cd42',
    950: '#000000',
  },
}
SCSS
$custom: #c9cd42;
$custom-light: #dddc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c9cd42",
  "rgb": {
    "r": 201,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 61.727,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.82033,
    "c": 0.15664,
    "h": 111
  },
  "luminance": 0.56473
}

Semantic roles & 50–950 ramp

primary
#C9CD42
secondary
#37357E
accent
#46E14B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C9CD42

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

Preview Lab → · Contrast checker → · Palette generator →

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