#C8D042#C8D042

#C8D042 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.6% C 0.160 H 112.6°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#C8D042
RGBrgb(200, 208, 66)
HSLhsl(63, 60%, 54%)
HSVhsv(63, 68%, 82%)
CMYKcmyk(3.8%, 0%, 68.3%, 18.4%)
CIE-LABlab(80.62, -20.07, 66.09)
CIE-LCHlch(80.62, 69.07, 106.89°)
OKLaboklab(82.6% -0.0614 0.1478)
OKLCHoklch(82.6% 0.16 112.6)
XYZxyz(47.3601, 57.7855, 13.8121)
Luminance0.5778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D042 #4A42D0
analogous
#D09142 #C8D042 #81D042
triadic
#C8D042 #42C8D0 #D042C8
tetradic
#C8D042 #42D091 #4A42D0 #D04281
square
#C8D042 #42D091 #4A42D0 #D04281
split-complementary
#C8D042 #4281D0 #9142D0
monochromatic
#74791E #A3AA2A #C8D042 #D6DC73 #E5E8A4

Accessibility & contrast

On white

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

On black

12.56
#C8D042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D042
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D042#FFFFFF#000000##000000
##C8D0421.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8d042;
/* rgb */ color: rgb(200, 208, 66);
/* oklch */ color: oklch(82.6% 0.160 112.6);
Tailwind
colors: {
  custom: {
    50: '#dcde7f',
    500: '#c8d042',
    950: '#000000',
  },
}
SCSS
$custom: #c8d042;
$custom-light: #dcde7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d042",
  "rgb": {
    "r": 200,
    "g": 208,
    "b": 66
  },
  "hsl": {
    "h": 63.38,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.82603,
    "c": 0.16001,
    "h": 112.6
  },
  "luminance": 0.57784
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8D042

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

Preview Lab → · Contrast checker → · Palette generator →

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