#C7E978#C7E978

#C7E978 is a very light, vivid yellow-green. Relative luminance 0.718; OKLCH L 88.6% C 0.145 H 123.2°. Best body text is #000000 at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#C7E978
RGBrgb(199, 233, 120)
HSLhsl(78, 72%, 69%)
HSVhsv(78, 48%, 91%)
CMYKcmyk(14.6%, 0%, 48.5%, 8.6%)
CIE-LABlab(87.86, -28.30, 50.89)
CIE-LCHlch(87.86, 58.23, 119.08°)
OKLaboklab(88.55% -0.0794 0.1215)
OKLCHoklch(88.55% 0.145 123.2)
XYZxyz(56.0824, 71.7758, 28.6652)
Luminance0.7178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E978 #9A78E9
analogous
#E9D378 #C7E978 #8FE978
triadic
#C7E978 #78C7E9 #E978C7
tetradic
#C7E978 #78E9D3 #9A78E9 #E9788F
square
#C7E978 #78E9D3 #9A78E9 #E9788F
split-complementary
#C7E978 #788FE9 #D378E9
monochromatic
#94C620 #B1E043 #C7E978 #DDF2AD #F3FAE1

Accessibility & contrast

On white

1.37
#C7E978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.36
#C7E978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E978
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E978#FFFFFF#000000##000000
##C7E9781.001.3715.3615.36
#FFFFFF1.371.0021.0021.00
#00000015.3621.001.001.00
##00000015.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD6E
Deuteranopia (green-blind)
#F0DC7E
Tritanopia (blue-blind)
#CFDFCF
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #c7e978;
/* rgb */ color: rgb(199, 233, 120);
/* oklch */ color: oklch(88.6% 0.145 123.2);
Tailwind
colors: {
  custom: {
    50: '#daf0a1',
    500: '#c7e978',
    950: '#000000',
  },
}
SCSS
$custom: #c7e978;
$custom-light: #daf0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e978",
  "rgb": {
    "r": 199,
    "g": 233,
    "b": 120
  },
  "hsl": {
    "h": 78.053,
    "s": 71.975,
    "l": 69.216
  },
  "oklch": {
    "l": 0.88553,
    "c": 0.14509,
    "h": 123.2
  },
  "luminance": 0.71776
}

Semantic roles & 50–950 ramp

primary
#C7E978
secondary
#6A44C1
accent
#11D44C
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160F
muted
#848580

Preview Lab

Preview with #C7E978

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

Preview Lab → · Contrast checker → · Palette generator →

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