#C9D940#C9D940

#C9D940 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 84.6% C 0.171 H 115.3°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#C9D940
RGBrgb(201, 217, 64)
HSLhsl(66, 67%, 55%)
HSVhsv(66, 71%, 85%)
CMYKcmyk(7.4%, 0%, 70.5%, 14.9%)
CIE-LABlab(83.13, -24.14, 69.33)
CIE-LCHlch(83.13, 73.41, 109.20°)
OKLaboklab(84.63% -0.073 0.1542)
OKLCHoklch(84.63% 0.171 115.3)
XYZxyz(49.8270, 62.4142, 14.2718)
Luminance0.6241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9D940 #5040D9
analogous
#D99D40 #C9D940 #7CD940
triadic
#C9D940 #40C9D9 #D940C9
tetradic
#C9D940 #40D99D #5040D9 #D9407C
square
#C9D940 #40D99D #5040D9 #D9407C
split-complementary
#C9D940 #407CD9 #9D40D9
monochromatic
#79841A #A8B724 #C9D940 #D7E373 #E6EDA6

Accessibility & contrast

On white

1.56
#C9D940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.48
#C9D940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9D940
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9D940#FFFFFF#000000##000000
##C9D9401.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE25
Deuteranopia (green-blind)
#E7D04C
Tritanopia (blue-blind)
#D6CDBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c9d940;
/* rgb */ color: rgb(201, 217, 64);
/* oklch */ color: oklch(84.6% 0.171 115.3);
Tailwind
colors: {
  custom: {
    50: '#dde47f',
    500: '#c9d940',
    950: '#000000',
  },
}
SCSS
$custom: #c9d940;
$custom-light: #dde47f;
$custom-dark: #000000;
JSON
{
  "hex": "#c9d940",
  "rgb": {
    "r": 201,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 66.275,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.84632,
    "c": 0.17061,
    "h": 115.3
  },
  "luminance": 0.62413
}

Semantic roles & 50–950 ramp

primary
#C9D940
secondary
#3C328B
accent
#3EEA50
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #C9D940

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

Preview Lab → · Contrast checker → · Palette generator →

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