#C8D342#C8D342

#C8D342 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.3% C 0.163 H 113.7°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#C8D342
RGBrgb(200, 211, 66)
HSLhsl(65, 62%, 54%)
HSVhsv(65, 69%, 83%)
CMYKcmyk(5.2%, 0%, 68.7%, 17.3%)
CIE-LABlab(81.44, -21.54, 66.91)
CIE-LCHlch(81.44, 70.29, 107.84°)
OKLaboklab(83.26% -0.0655 0.1495)
OKLCHoklch(83.26% 0.163 113.7)
XYZxyz(48.0984, 59.2622, 14.0582)
Luminance0.5926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D342 #4D42D3
analogous
#D39642 #C8D342 #80D342
triadic
#C8D342 #42C8D3 #D342C8
tetradic
#C8D342 #42D396 #4D42D3 #D34280
square
#C8D342 #42D396 #4D42D3 #D34280
split-complementary
#C8D342 #4280D3 #9642D3
monochromatic
#767D1D #A5AF29 #C8D342 #D6DF74 #E5EAA5

Accessibility & contrast

On white

1.63
#C8D342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#C8D342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D342
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D342#FFFFFF#000000##000000
##C8D3421.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C92B
Deuteranopia (green-blind)
#E2CC4D
Tritanopia (blue-blind)
#D5C7B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c8d342;
/* rgb */ color: rgb(200, 211, 66);
/* oklch */ color: oklch(83.3% 0.163 113.7);
Tailwind
colors: {
  custom: {
    50: '#dce07f',
    500: '#c8d342',
    950: '#000000',
  },
}
SCSS
$custom: #c8d342;
$custom-light: #dce07f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d342",
  "rgb": {
    "r": 200,
    "g": 211,
    "b": 66
  },
  "hsl": {
    "h": 64.552,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.83256,
    "c": 0.16319,
    "h": 113.7
  },
  "luminance": 0.59261
}

Semantic roles & 50–950 ramp

primary
#C8D342
secondary
#3A3485
accent
#42E54F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C8D342

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

Preview Lab → · Contrast checker → · Palette generator →

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