#C9D242#C9D242

#C9D242 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.1% C 0.162 H 112.9°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#C9D242
RGBrgb(201, 210, 66)
HSLhsl(64, 62%, 54%)
HSVhsv(64, 69%, 82%)
CMYKcmyk(4.3%, 0%, 68.6%, 17.6%)
CIE-LABlab(81.24, -20.63, 66.74)
CIE-LCHlch(81.24, 69.85, 107.18°)
OKLaboklab(83.12% -0.0631 0.1491)
OKLCHoklch(83.12% 0.162 112.9)
XYZxyz(48.1188, 58.9051, 13.9882)
Luminance0.5890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9D242 #4B42D2
analogous
#D29342 #C9D242 #81D242
triadic
#C9D242 #42C9D2 #D242C9
tetradic
#C9D242 #42D293 #4B42D2 #D24281
square
#C9D242 #42D293 #4B42D2 #D24281
split-complementary
#C9D242 #4281D2 #9342D2
monochromatic
#767C1E #A5AD29 #C9D242 #D7DE73 #E5EAA5

Accessibility & contrast

On white

1.64
#C9D242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#C9D242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9D242
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9D242#FFFFFF#000000##000000
##C9D2421.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C82B
Deuteranopia (green-blind)
#E2CB4D
Tritanopia (blue-blind)
#D6C6B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c9d242;
/* rgb */ color: rgb(201, 210, 66);
/* oklch */ color: oklch(83.1% 0.162 112.9);
Tailwind
colors: {
  custom: {
    50: '#dddf7f',
    500: '#c9d242',
    950: '#000000',
  },
}
SCSS
$custom: #c9d242;
$custom-light: #dddf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c9d242",
  "rgb": {
    "r": 201,
    "g": 210,
    "b": 66
  },
  "hsl": {
    "h": 63.75,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.83118,
    "c": 0.16186,
    "h": 112.9
  },
  "luminance": 0.58904
}

Semantic roles & 50–950 ramp

primary
#C9D242
secondary
#393484
accent
#43E54D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C9D242

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

Preview Lab → · Contrast checker → · Palette generator →

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