#C9D742#C9D742

#C9D742 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.2% C 0.167 H 114.7°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#C9D742
RGBrgb(201, 215, 66)
HSLhsl(66, 65%, 55%)
HSVhsv(66, 69%, 84%)
CMYKcmyk(6.5%, 0%, 69.3%, 15.7%)
CIE-LABlab(82.60, -23.07, 68.09)
CIE-LCHlch(82.60, 71.89, 108.72°)
OKLaboklab(84.21% -0.0698 0.1519)
OKLCHoklch(84.21% 0.167 114.7)
XYZxyz(49.3725, 61.4126, 14.4061)
Luminance0.6141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9D742 #5042D7
analogous
#D79B42 #C9D742 #7ED742
triadic
#C9D742 #42C9D7 #D742C9
tetradic
#C9D742 #42D79B #5042D7 #D7427E
square
#C9D742 #42D79B #5042D7 #D7427E
split-complementary
#C9D742 #427ED7 #9B42D7
monochromatic
#79831C #A8B526 #C9D742 #D7E275 #E6ECA7

Accessibility & contrast

On white

1.58
#C9D742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#C9D742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9D742
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9D742#FFFFFF#000000##000000
##C9D7421.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC29
Deuteranopia (green-blind)
#E5CF4D
Tritanopia (blue-blind)
#D6CBBA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c9d742;
/* rgb */ color: rgb(201, 215, 66);
/* oklch */ color: oklch(84.2% 0.167 114.7);
Tailwind
colors: {
  custom: {
    50: '#dde37f',
    500: '#c9d742',
    950: '#000000',
  },
}
SCSS
$custom: #c9d742;
$custom-light: #dde37f;
$custom-dark: #000000;
JSON
{
  "hex": "#c9d742",
  "rgb": {
    "r": 201,
    "g": 215,
    "b": 66
  },
  "hsl": {
    "h": 65.638,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.84208,
    "c": 0.16721,
    "h": 114.7
  },
  "luminance": 0.61412
}

Semantic roles & 50–950 ramp

primary
#C9D742
secondary
#3C348A
accent
#40E850
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C9D742

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

Preview Lab → · Contrast checker → · Palette generator →

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