#C8D942#C8D942

#C8D942 is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 84.6% C 0.170 H 115.7°. Best body text is #000000 at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#C8D942
RGBrgb(200, 217, 66)
HSLhsl(67, 67%, 55%)
HSVhsv(67, 70%, 85%)
CMYKcmyk(7.8%, 0%, 69.6%, 14.9%)
CIE-LABlab(83.07, -24.44, 68.53)
CIE-LCHlch(83.07, 72.76, 109.63°)
OKLaboklab(84.57% -0.0736 0.1529)
OKLCHoklch(84.57% 0.17 115.7)
XYZxyz(49.6169, 62.2992, 14.5644)
Luminance0.6230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D942 #5342D9
analogous
#D99E42 #C8D942 #7CD942
triadic
#C8D942 #42C8D9 #D942C8
tetradic
#C8D942 #42D99E #5342D9 #D9427C
square
#C8D942 #42D99E #5342D9 #D9427C
split-complementary
#C8D942 #427CD9 #9E42D9
monochromatic
#7A861B #A8B925 #C8D942 #D7E375 #E6EDA8

Accessibility & contrast

On white

1.56
#C8D942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.46
#C8D942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D942
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D942#FFFFFF#000000##000000
##C8D9421.001.5613.4613.46
#FFFFFF1.561.0021.0021.00
#00000013.4621.001.001.00
##00000013.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE28
Deuteranopia (green-blind)
#E7D04E
Tritanopia (blue-blind)
#D5CDBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c8d942;
/* rgb */ color: rgb(200, 217, 66);
/* oklch */ color: oklch(84.6% 0.170 115.7);
Tailwind
colors: {
  custom: {
    50: '#dce480',
    500: '#c8d942',
    950: '#000000',
  },
}
SCSS
$custom: #c8d942;
$custom-light: #dce480;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d942",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 66
  },
  "hsl": {
    "h": 66.755,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.84569,
    "c": 0.16968,
    "h": 115.7
  },
  "luminance": 0.62298
}

Semantic roles & 50–950 ramp

primary
#C8D942
secondary
#3D338C
accent
#3EE952
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C8D942

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

Preview Lab → · Contrast checker → · Palette generator →

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