#C9D342#C9D342

#C9D342 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.3% C 0.163 H 113.3°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#C9D342
RGBrgb(201, 211, 66)
HSLhsl(64, 62%, 54%)
HSVhsv(64, 69%, 83%)
CMYKcmyk(4.7%, 0%, 68.7%, 17.3%)
CIE-LABlab(81.51, -21.12, 67.01)
CIE-LCHlch(81.51, 70.26, 107.50°)
OKLaboklab(83.34% -0.0644 0.1496)
OKLCHoklch(83.34% 0.163 113.3)
XYZxyz(48.3664, 59.4004, 14.0708)
Luminance0.5940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9D342 #4C42D3
analogous
#D39542 #C9D342 #81D342
triadic
#C9D342 #42C9D3 #D342C9
tetradic
#C9D342 #42D395 #4C42D3 #D34281
square
#C9D342 #42D395 #4C42D3 #D34281
split-complementary
#C9D342 #4281D3 #9542D3
monochromatic
#777D1D #A6AF29 #C9D342 #D7DF74 #E5EAA5

Accessibility & contrast

On white

1.63
#C9D342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.88
#C9D342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9D342
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9D342#FFFFFF#000000##000000
##C9D3421.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C92B
Deuteranopia (green-blind)
#E2CC4D
Tritanopia (blue-blind)
#D6C7B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c9d342;
/* rgb */ color: rgb(201, 211, 66);
/* oklch */ color: oklch(83.3% 0.163 113.3);
Tailwind
colors: {
  custom: {
    50: '#dde07f',
    500: '#c9d342',
    950: '#000000',
  },
}
SCSS
$custom: #c9d342;
$custom-light: #dde07f;
$custom-dark: #000000;
JSON
{
  "hex": "#c9d342",
  "rgb": {
    "r": 201,
    "g": 211,
    "b": 66
  },
  "hsl": {
    "h": 64.138,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.83336,
    "c": 0.16292,
    "h": 113.3
  },
  "luminance": 0.59399
}

Semantic roles & 50–950 ramp

primary
#C9D342
secondary
#3A3485
accent
#42E54E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C9D342

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

Preview Lab → · Contrast checker → · Palette generator →

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