#C8D978#C8D978

#C8D978 is a very light, vivid yellow-green. Relative luminance 0.633; OKLCH L 85.1% C 0.124 H 117.3°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#C8D978
RGBrgb(200, 217, 120)
HSLhsl(71, 56%, 66%)
HSVhsv(71, 45%, 85%)
CMYKcmyk(7.8%, 0%, 44.7%, 14.9%)
CIE-LABlab(83.58, -20.22, 45.67)
CIE-LCHlch(83.58, 49.95, 113.88°)
OKLaboklab(85.14% -0.0566 0.1099)
OKLCHoklch(85.14% 0.124 117.3)
XYZxyz(52.0229, 63.2616, 27.2358)
Luminance0.6326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D978 #8978D9
analogous
#D9B978 #C8D978 #97D978
triadic
#C8D978 #78C8D9 #D978C8
tetradic
#C8D978 #78D9B9 #8978D9 #D97897
square
#C8D978 #78D9B9 #8978D9 #D97897
split-complementary
#C8D978 #7897D9 #B978D9
monochromatic
#92A72F #B5CC48 #C8D978 #DBE6A8 #EFF4D8

Accessibility & contrast

On white

1.54
#C8D978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.65
#C8D978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D978
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D978#FFFFFF#000000##000000
##C8D9781.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D070
Deuteranopia (green-blind)
#E3D17D
Tritanopia (blue-blind)
#D1D0C2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c8d978;
/* rgb */ color: rgb(200, 217, 120);
/* oklch */ color: oklch(85.1% 0.124 117.3);
Tailwind
colors: {
  custom: {
    50: '#dae4a1',
    500: '#c8d978',
    950: '#000000',
  },
}
SCSS
$custom: #c8d978;
$custom-light: #dae4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d978",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 120
  },
  "hsl": {
    "h": 70.515,
    "s": 56.069,
    "l": 66.078
  },
  "oklch": {
    "l": 0.85139,
    "c": 0.12364,
    "h": 117.3
  },
  "luminance": 0.63261
}

Semantic roles & 50–950 ramp

primary
#C8D978
secondary
#5B4AAB
accent
#22C43E
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #C8D978

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

Preview Lab → · Contrast checker → · Palette generator →

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