#C8D979#C8D979

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

Color values

HEX#C8D979
RGBrgb(200, 217, 121)
HSLhsl(71, 56%, 66%)
HSVhsv(71, 44%, 85%)
CMYKcmyk(7.8%, 0%, 44.2%, 14.9%)
CIE-LABlab(83.59, -20.12, 45.20)
CIE-LCHlch(83.59, 49.48, 113.99°)
OKLaboklab(85.15% -0.0563 0.1089)
OKLCHoklch(85.15% 0.123 117.3)
XYZxyz(52.0839, 63.2860, 27.5571)
Luminance0.6329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D979 #8A79D9
analogous
#D9BA79 #C8D979 #98D979
triadic
#C8D979 #79C8D9 #D979C8
tetradic
#C8D979 #79D9BA #8A79D9 #D97998
square
#C8D979 #79D9BA #8A79D9 #D97998
split-complementary
#C8D979 #7998D9 #BA79D9
monochromatic
#93A830 #B4CB49 #C8D979 #DCE7A9 #EFF4D8

Accessibility & contrast

On white

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

On black

13.66
#C8D979 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D979
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D979#FFFFFF#000000##000000
##C8D9791.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8d979;
/* rgb */ color: rgb(200, 217, 121);
/* oklch */ color: oklch(85.2% 0.123 117.3);
Tailwind
colors: {
  custom: {
    50: '#dae4a1',
    500: '#c8d979',
    950: '#000000',
  },
}
SCSS
$custom: #c8d979;
$custom-light: #dae4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d979",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 121
  },
  "hsl": {
    "h": 70.625,
    "s": 55.814,
    "l": 66.275
  },
  "oklch": {
    "l": 0.85153,
    "c": 0.12258,
    "h": 117.3
  },
  "luminance": 0.63286
}

Semantic roles & 50–950 ramp

primary
#C8D979
secondary
#5C4BAB
accent
#22C33F
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #C8D979

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

Preview Lab → · Contrast checker → · Palette generator →

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