#C8DE42#C8DE42

#C8DE42 is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 85.7% C 0.175 H 117.3°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#C8DE42
RGBrgb(200, 222, 66)
HSLhsl(68, 70%, 56%)
HSVhsv(68, 70%, 87%)
CMYKcmyk(9.9%, 0%, 70.3%, 12.9%)
CIE-LABlab(84.44, -26.83, 69.88)
CIE-LCHlch(84.44, 74.85, 111.01°)
OKLaboklab(85.67% -0.0802 0.1557)
OKLCHoklch(85.67% 0.175 117.3)
XYZxyz(50.9252, 64.9158, 15.0005)
Luminance0.6492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8DE42 #5842DE
analogous
#DEA642 #C8DE42 #7ADE42
triadic
#C8DE42 #42C8DE #DE42C8
tetradic
#C8DE42 #42DEA6 #5842DE #DE427A
square
#C8DE42 #42DEA6 #5842DE #DE427A
split-complementary
#C8DE42 #427ADE #A642DE
monochromatic
#7D8D19 #ABC122 #C8DE42 #D7E776 #E6F0AA

Accessibility & contrast

On white

1.50
#C8DE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.98
#C8DE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8DE42
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8DE42#FFFFFF#000000##000000
##C8DE421.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD227
Deuteranopia (green-blind)
#EBD44F
Tritanopia (blue-blind)
#D4D2C0
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #c8de42;
/* rgb */ color: rgb(200, 222, 66);
/* oklch */ color: oklch(85.7% 0.175 117.3);
Tailwind
colors: {
  custom: {
    50: '#dce880',
    500: '#c8de42',
    950: '#000000',
  },
}
SCSS
$custom: #c8de42;
$custom-light: #dce880;
$custom-dark: #000000;
JSON
{
  "hex": "#c8de42",
  "rgb": {
    "r": 200,
    "g": 222,
    "b": 66
  },
  "hsl": {
    "h": 68.462,
    "s": 70.27,
    "l": 56.471
  },
  "oklch": {
    "l": 0.85667,
    "c": 0.17517,
    "h": 117.3
  },
  "luminance": 0.64915
}

Semantic roles & 50–950 ramp

primary
#C8DE42
secondary
#3F3292
accent
#3BED54
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C8DE42

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

Preview Lab → · Contrast checker → · Palette generator →

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