#C8D04F#C8D04F

#C8D04F is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 82.7% C 0.151 H 112.6°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#C8D04F
RGBrgb(200, 208, 79)
HSLhsl(64, 58%, 56%)
HSVhsv(64, 62%, 82%)
CMYKcmyk(3.8%, 0%, 62%, 18.4%)
CIE-LABlab(80.71, -19.29, 61.07)
CIE-LCHlch(80.71, 64.04, 107.53°)
OKLaboklab(82.71% -0.0579 0.1391)
OKLCHoklch(82.71% 0.151 112.6)
XYZxyz(47.7878, 57.9566, 16.0650)
Luminance0.5796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D04F #574FD0
analogous
#D0984F #C8D04F #88D04F
triadic
#C8D04F #4FC8D0 #D04FC8
tetradic
#C8D04F #4FD098 #574FD0 #D04F88
square
#C8D04F #4FD098 #574FD0 #D04F88
split-complementary
#C8D04F #4F88D0 #984FD0
monochromatic
#7C8223 #AAB230 #C8D04F #D7DD7F #E6EAB0

Accessibility & contrast

On white

1.67
#C8D04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#C8D04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D04F
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D04F#FFFFFF#000000##000000
##C8D04F1.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73F
Deuteranopia (green-blind)
#DFCA57
Tritanopia (blue-blind)
#D5C4B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c8d04f;
/* rgb */ color: rgb(200, 208, 79);
/* oklch */ color: oklch(82.7% 0.151 112.6);
Tailwind
colors: {
  custom: {
    50: '#dcde86',
    500: '#c8d04f',
    950: '#000000',
  },
}
SCSS
$custom: #c8d04f;
$custom-light: #dcde86;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d04f",
  "rgb": {
    "r": 200,
    "g": 208,
    "b": 79
  },
  "hsl": {
    "h": 63.721,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82709,
    "c": 0.15069,
    "h": 112.6
  },
  "luminance": 0.57956
}

Semantic roles & 50–950 ramp

primary
#C8D04F
secondary
#3F3A89
accent
#47E150
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8D04F

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

Preview Lab → · Contrast checker → · Palette generator →

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