#C8D478#C8D478

#C8D478 is a very light, moderate yellow. Relative luminance 0.607; OKLCH L 84.1% C 0.117 H 115.1°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#C8D478
RGBrgb(200, 212, 120)
HSLhsl(68, 52%, 65%)
HSVhsv(68, 43%, 83%)
CMYKcmyk(5.7%, 0%, 43.4%, 16.9%)
CIE-LABlab(82.23, -17.76, 44.00)
CIE-LCHlch(82.23, 47.45, 111.98°)
OKLaboklab(84.06% -0.0496 0.1062)
OKLCHoklch(84.06% 0.117 115.1)
XYZxyz(50.7536, 60.7230, 26.8127)
Luminance0.6072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D478 #8478D4
analogous
#D4B278 #C8D478 #9AD478
triadic
#C8D478 #78C8D4 #D478C8
tetradic
#C8D478 #78D4B2 #8478D4 #D4789A
square
#C8D478 #78D4B2 #8478D4 #D4789A
split-complementary
#C8D478 #789AD4 #B278D4
monochromatic
#919F33 #B5C54A #C8D478 #DBE3A6 #EEF2D5

Accessibility & contrast

On white

1.60
#C8D478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.14
#C8D478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D478
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D478#FFFFFF#000000##000000
##C8D4781.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CC71
Deuteranopia (green-blind)
#DFCD7D
Tritanopia (blue-blind)
#D2CBBE
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c8d478;
/* rgb */ color: rgb(200, 212, 120);
/* oklch */ color: oklch(84.1% 0.117 115.1);
Tailwind
colors: {
  custom: {
    50: '#dae1a0',
    500: '#c8d478',
    950: '#000000',
  },
}
SCSS
$custom: #c8d478;
$custom-light: #dae1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d478",
  "rgb": {
    "r": 200,
    "g": 212,
    "b": 120
  },
  "hsl": {
    "h": 67.826,
    "s": 51.685,
    "l": 65.098
  },
  "oklch": {
    "l": 0.8406,
    "c": 0.11719,
    "h": 115.1
  },
  "luminance": 0.60722
}

Semantic roles & 50–950 ramp

primary
#C8D478
secondary
#584DA4
accent
#26BF3A
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #C8D478

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

Preview Lab → · Contrast checker → · Palette generator →

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