#C8D427#C8D427

#C8D427 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.3% C 0.178 H 113.9°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#C8D427
RGBrgb(200, 212, 39)
HSLhsl(64, 69%, 49%)
HSVhsv(64, 82%, 83%)
CMYKcmyk(5.7%, 0%, 81.6%, 16.9%)
CIE-LABlab(81.57, -23.15, 75.39)
CIE-LCHlch(81.57, 78.86, 107.07°)
OKLaboklab(83.32% -0.0722 0.1629)
OKLCHoklch(83.32% 0.178 113.9)
XYZxyz(47.7307, 59.5138, 10.8920)
Luminance0.5951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D427 #3327D4
analogous
#D48A27 #C8D427 #72D427
triadic
#C8D427 #27C8D4 #D427C8
tetradic
#C8D427 #27D48A #3327D4 #D42772
square
#C8D427 #27D48A #3327D4 #D42772
split-complementary
#C8D427 #2772D4 #8A27D4
monochromatic
#666D14 #97A01D #C8D427 #D7E058 #E3EA8C

Accessibility & contrast

On white

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

On black

12.90
#C8D427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D427
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D427#FFFFFF#000000##000000
##C8D4271.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4C900
Deuteranopia (green-blind)
#E4CC39
Tritanopia (blue-blind)
#D6C7B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c8d427;
/* rgb */ color: rgb(200, 212, 39);
/* oklch */ color: oklch(83.3% 0.178 113.9);
Tailwind
colors: {
  custom: {
    50: '#dde173',
    500: '#c8d427',
    950: '#000000',
  },
}
SCSS
$custom: #c8d427;
$custom-light: #dde173;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d427",
  "rgb": {
    "r": 200,
    "g": 212,
    "b": 39
  },
  "hsl": {
    "h": 64.162,
    "s": 68.924,
    "l": 49.216
  },
  "oklch": {
    "l": 0.83324,
    "c": 0.17815,
    "h": 113.9
  },
  "luminance": 0.59513
}

Semantic roles & 50–950 ramp

primary
#C8D427
secondary
#2F2976
accent
#3CEC48
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #C8D427

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

Preview Lab → · Contrast checker → · Palette generator →

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