#C8D778#C8D778

#C8D778 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 84.7% C 0.121 H 116.4°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#C8D778
RGBrgb(200, 215, 120)
HSLhsl(69, 54%, 66%)
HSVhsv(69, 44%, 84%)
CMYKcmyk(7%, 0%, 44.2%, 15.7%)
CIE-LABlab(83.04, -19.24, 45.01)
CIE-LCHlch(83.04, 48.95, 113.15°)
OKLaboklab(84.71% -0.0538 0.1084)
OKLCHoklch(84.71% 0.121 116.4)
XYZxyz(51.5105, 62.2368, 27.0650)
Luminance0.6224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D778 #8778D7
analogous
#D7B678 #C8D778 #98D778
triadic
#C8D778 #78C8D7 #D778C8
tetradic
#C8D778 #78D7B6 #8778D7 #D77898
square
#C8D778 #78D7B6 #8778D7 #D77898
split-complementary
#C8D778 #7898D7 #B678D7
monochromatic
#92A431 #B5C949 #C8D778 #DBE5A7 #EEF3D6

Accessibility & contrast

On white

1.56
#C8D778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#C8D778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D778
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D778#FFFFFF#000000##000000
##C8D7781.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE70
Deuteranopia (green-blind)
#E1D07D
Tritanopia (blue-blind)
#D1CEC0
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c8d778;
/* rgb */ color: rgb(200, 215, 120);
/* oklch */ color: oklch(84.7% 0.121 116.4);
Tailwind
colors: {
  custom: {
    50: '#dae3a1',
    500: '#c8d778',
    950: '#000000',
  },
}
SCSS
$custom: #c8d778;
$custom-light: #dae3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d778",
  "rgb": {
    "r": 200,
    "g": 215,
    "b": 120
  },
  "hsl": {
    "h": 69.474,
    "s": 54.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.84707,
    "c": 0.12104,
    "h": 116.4
  },
  "luminance": 0.62236
}

Semantic roles & 50–950 ramp

primary
#C8D778
secondary
#5A4BA8
accent
#24C23D
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #C8D778

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

Preview Lab → · Contrast checker → · Palette generator →

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