#C8CD39#C8CD39

#C8CD39 is a light, vivid yellow. Relative luminance 0.562; OKLCH L 81.9% C 0.162 H 111.4°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#C8CD39
RGBrgb(200, 205, 57)
HSLhsl(62, 60%, 51%)
HSVhsv(62, 72%, 80%)
CMYKcmyk(2.4%, 0%, 72.2%, 19.6%)
CIE-LABlab(79.75, -19.04, 68.45)
CIE-LCHlch(79.75, 71.05, 105.54°)
OKLaboklab(81.89% -0.0594 0.1512)
OKLCHoklch(81.89% 0.162 111.4)
XYZxyz(46.3908, 56.2386, 12.2815)
Luminance0.5624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CD39 #3E39CD
analogous
#CD8839 #C8CD39 #7ECD39
triadic
#C8CD39 #39C8CD #CD39C8
tetradic
#C8CD39 #39CD88 #3E39CD #CD397E
square
#C8CD39 #39CD88 #3E39CD #CD397E
split-complementary
#C8CD39 #397ECD #8839CD
monochromatic
#6D6F1C #9CA028 #C8CD39 #D6D96A #E3E69B

Accessibility & contrast

On white

1.71
#C8CD39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#C8CD39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CD39
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CD39#FFFFFF#000000##000000
##C8CD391.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC41C
Deuteranopia (green-blind)
#DEC745
Tritanopia (blue-blind)
#D6C0B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c8cd39;
/* rgb */ color: rgb(200, 205, 57);
/* oklch */ color: oklch(81.9% 0.162 111.4);
Tailwind
colors: {
  custom: {
    50: '#dcdc7a',
    500: '#c8cd39',
    950: '#000000',
  },
}
SCSS
$custom: #c8cd39;
$custom-light: #dcdc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cd39",
  "rgb": {
    "r": 200,
    "g": 205,
    "b": 57
  },
  "hsl": {
    "h": 62.027,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81889,
    "c": 0.16246,
    "h": 111.4
  },
  "luminance": 0.56237
}

Semantic roles & 50–950 ramp

primary
#C8CD39
secondary
#343279
accent
#45E34A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #C8CD39

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

Preview Lab → · Contrast checker → · Palette generator →

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