#C8D842#C8D842

#C8D842 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.3% C 0.169 H 115.4°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#C8D842
RGBrgb(200, 216, 66)
HSLhsl(66, 66%, 55%)
HSVhsv(66, 69%, 85%)
CMYKcmyk(7.4%, 0%, 69.4%, 15.3%)
CIE-LABlab(82.80, -23.96, 68.26)
CIE-LCHlch(82.80, 72.34, 109.34°)
OKLaboklab(84.35% -0.0723 0.1523)
OKLCHoklch(84.35% 0.169 115.4)
XYZxyz(49.3599, 61.7852, 14.4787)
Luminance0.6178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D842 #5242D8
analogous
#D89D42 #C8D842 #7DD842
triadic
#C8D842 #42C8D8 #D842C8
tetradic
#C8D842 #42D89D #5242D8 #D8427D
square
#C8D842 #42D89D #5242D8 #D8427D
split-complementary
#C8D842 #427DD8 #9D42D8
monochromatic
#79841B #A8B726 #C8D842 #D7E275 #E6EDA7

Accessibility & contrast

On white

1.57
#C8D842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.36
#C8D842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D842
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D842#FFFFFF#000000##000000
##C8D8421.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD29
Deuteranopia (green-blind)
#E6CF4E
Tritanopia (blue-blind)
#D5CCBB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c8d842;
/* rgb */ color: rgb(200, 216, 66);
/* oklch */ color: oklch(84.3% 0.169 115.4);
Tailwind
colors: {
  custom: {
    50: '#dce37f',
    500: '#c8d842',
    950: '#000000',
  },
}
SCSS
$custom: #c8d842;
$custom-light: #dce37f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d842",
  "rgb": {
    "r": 200,
    "g": 216,
    "b": 66
  },
  "hsl": {
    "h": 66.4,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.84349,
    "c": 0.16859,
    "h": 115.4
  },
  "luminance": 0.61784
}

Semantic roles & 50–950 ramp

primary
#C8D842
secondary
#3D338B
accent
#3FE951
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C8D842

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

Preview Lab → · Contrast checker → · Palette generator →

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