#C8DA42#C8DA42

#C8DA42 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 84.8% C 0.171 H 116.0°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#C8DA42
RGBrgb(200, 218, 66)
HSLhsl(67, 67%, 56%)
HSVhsv(67, 70%, 85%)
CMYKcmyk(8.3%, 0%, 69.7%, 14.5%)
CIE-LABlab(83.35, -24.92, 68.80)
CIE-LCHlch(83.35, 73.18, 109.91°)
OKLaboklab(84.79% -0.0749 0.1534)
OKLCHoklch(84.79% 0.171 116)
XYZxyz(49.8754, 62.8162, 14.6505)
Luminance0.6282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8DA42 #5442DA
analogous
#DAA042 #C8DA42 #7CDA42
triadic
#C8DA42 #42C8DA #DA42C8
tetradic
#C8DA42 #42DAA0 #5442DA #DA427C
square
#C8DA42 #42DAA0 #5442DA #DA427C
split-complementary
#C8DA42 #427CDA #A042DA
monochromatic
#7A871A #A9BA24 #C8DA42 #D7E475 #E6EEA8

Accessibility & contrast

On white

1.55
#C8DA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.56
#C8DA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8DA42
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8DA42#FFFFFF#000000##000000
##C8DA421.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF28
Deuteranopia (green-blind)
#E8D14E
Tritanopia (blue-blind)
#D4CEBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c8da42;
/* rgb */ color: rgb(200, 218, 66);
/* oklch */ color: oklch(84.8% 0.171 116.0);
Tailwind
colors: {
  custom: {
    50: '#dce580',
    500: '#c8da42',
    950: '#000000',
  },
}
SCSS
$custom: #c8da42;
$custom-light: #dce580;
$custom-dark: #000000;
JSON
{
  "hex": "#c8da42",
  "rgb": {
    "r": 200,
    "g": 218,
    "b": 66
  },
  "hsl": {
    "h": 67.105,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.84788,
    "c": 0.17077,
    "h": 116
  },
  "luminance": 0.62816
}

Semantic roles & 50–950 ramp

primary
#C8DA42
secondary
#3E338D
accent
#3EEA52
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C8DA42

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

Preview Lab → · Contrast checker → · Palette generator →

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