#C8D977#C8D977

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

Color values

HEX#C8D977
RGBrgb(200, 217, 119)
HSLhsl(70, 56%, 66%)
HSVhsv(70, 45%, 85%)
CMYKcmyk(7.8%, 0%, 45.2%, 14.9%)
CIE-LABlab(83.57, -20.33, 46.14)
CIE-LCHlch(83.57, 50.42, 113.78°)
OKLaboklab(85.12% -0.057 0.1109)
OKLCHoklch(85.12% 0.125 117.2)
XYZxyz(51.9625, 63.2374, 26.9178)
Luminance0.6324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D977 #8877D9
analogous
#D9B977 #C8D977 #97D977
triadic
#C8D977 #77C8D9 #D977C8
tetradic
#C8D977 #77D9B9 #8877D9 #D97797
square
#C8D977 #77D9B9 #8877D9 #D97797
split-complementary
#C8D977 #7797D9 #B977D9
monochromatic
#92A72F #B5CC47 #C8D977 #DBE6A7 #EFF4D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8D977#FFFFFF#000000##000000
##C8D9771.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)
#E5D06F
Deuteranopia (green-blind)
#E3D17C
Tritanopia (blue-blind)
#D1D0C2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c8d977;
/* rgb */ color: rgb(200, 217, 119);
/* oklch */ color: oklch(85.1% 0.125 117.2);
Tailwind
colors: {
  custom: {
    50: '#dae4a0',
    500: '#c8d977',
    950: '#000000',
  },
}
SCSS
$custom: #c8d977;
$custom-light: #dae4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d977",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 119
  },
  "hsl": {
    "h": 70.408,
    "s": 56.322,
    "l": 65.882
  },
  "oklch": {
    "l": 0.85124,
    "c": 0.12468,
    "h": 117.2
  },
  "luminance": 0.63237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8D977

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

Preview Lab → · Contrast checker → · Palette generator →

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