#C9CD40#C9CD40

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

Color values

HEX#C9CD40
RGBrgb(201, 205, 64)
HSLhsl(62, 59%, 53%)
HSVhsv(62, 69%, 80%)
CMYKcmyk(2%, 0%, 68.8%, 19.6%)
CIE-LABlab(79.87, -18.28, 66.11)
CIE-LCHlch(79.87, 68.59, 105.45°)
OKLaboklab(82.02% -0.0567 0.1474)
OKLCHoklch(82.02% 0.158 111)
XYZxyz(46.8456, 56.4515, 13.2780)
Luminance0.5645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CD40 #4440CD
analogous
#CD8A40 #C9CD40 #83CD40
triadic
#C9CD40 #40C9CD #CD40C9
tetradic
#C9CD40 #40CD8A #4440CD #CD4083
square
#C9CD40 #40CD8A #4440CD #CD4083
split-complementary
#C9CD40 #4083CD #8A40CD
monochromatic
#72741E #A1A52B #C9CD40 #D7DA71 #E4E6A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9CD40#FFFFFF#000000##000000
##C9CD401.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)
#DDC429
Deuteranopia (green-blind)
#DEC84A
Tritanopia (blue-blind)
#D7C0B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c9cd40;
/* rgb */ color: rgb(201, 205, 64);
/* oklch */ color: oklch(82.0% 0.158 111.0);
Tailwind
colors: {
  custom: {
    50: '#dddc7d',
    500: '#c9cd40',
    950: '#000000',
  },
}
SCSS
$custom: #c9cd40;
$custom-light: #dddc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c9cd40",
  "rgb": {
    "r": 201,
    "g": 205,
    "b": 64
  },
  "hsl": {
    "h": 61.702,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.82018,
    "c": 0.15795,
    "h": 111
  },
  "luminance": 0.5645
}

Semantic roles & 50–950 ramp

primary
#C9CD40
secondary
#36347D
accent
#46E24B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #C9CD40

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

Preview Lab → · Contrast checker → · Palette generator →

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