#C9D042#C9D042

#C9D042 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.7% C 0.160 H 112.2°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#C9D042
RGBrgb(201, 208, 66)
HSLhsl(63, 60%, 54%)
HSVhsv(63, 68%, 82%)
CMYKcmyk(3.4%, 0%, 68.3%, 18.4%)
CIE-LABlab(80.70, -19.65, 66.20)
CIE-LCHlch(80.70, 69.05, 106.54°)
OKLaboklab(82.68% -0.0603 0.1479)
OKLCHoklch(82.68% 0.16 112.2)
XYZxyz(47.6281, 57.9237, 13.8247)
Luminance0.5792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9D042 #4942D0
analogous
#D09042 #C9D042 #82D042
triadic
#C9D042 #42C9D0 #D042C9
tetradic
#C9D042 #42D090 #4942D0 #D04282
square
#C9D042 #42D090 #4942D0 #D04282
split-complementary
#C9D042 #4282D0 #9042D0
monochromatic
#75791E #A4AA2A #C9D042 #D7DC73 #E5E8A4

Accessibility & contrast

On white

1.67
#C9D042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#C9D042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9D042
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9D042#FFFFFF#000000##000000
##C9D0421.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C72C
Deuteranopia (green-blind)
#E0CA4C
Tritanopia (blue-blind)
#D6C4B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c9d042;
/* rgb */ color: rgb(201, 208, 66);
/* oklch */ color: oklch(82.7% 0.160 112.2);
Tailwind
colors: {
  custom: {
    50: '#ddde7f',
    500: '#c9d042',
    950: '#000000',
  },
}
SCSS
$custom: #c9d042;
$custom-light: #ddde7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c9d042",
  "rgb": {
    "r": 201,
    "g": 208,
    "b": 66
  },
  "hsl": {
    "h": 62.958,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.82683,
    "c": 0.15976,
    "h": 112.2
  },
  "luminance": 0.57923
}

Semantic roles & 50–950 ramp

primary
#C9D042
secondary
#393581
accent
#44E34C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C9D042

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

Preview Lab → · Contrast checker → · Palette generator →

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