#C7D878#C7D878

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

Color values

HEX#C7D878
RGBrgb(199, 216, 120)
HSLhsl(71, 55%, 66%)
HSVhsv(71, 44%, 85%)
CMYKcmyk(7.9%, 0%, 44.4%, 15.3%)
CIE-LABlab(83.24, -20.12, 45.23)
CIE-LCHlch(83.24, 49.51, 113.98°)
OKLaboklab(84.85% -0.0563 0.1089)
OKLCHoklch(84.85% 0.123 117.3)
XYZxyz(51.4996, 62.6103, 27.1376)
Luminance0.6261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D878 #8978D8
analogous
#D8B978 #C7D878 #97D878
triadic
#C7D878 #78C7D8 #D878C7
tetradic
#C7D878 #78D8B9 #8978D8 #D87897
square
#C7D878 #78D8B9 #8978D8 #D87897
split-complementary
#C7D878 #7897D8 #B978D8
monochromatic
#91A630 #B3CA49 #C7D878 #DBE6A7 #EEF3D7

Accessibility & contrast

On white

1.55
#C7D878 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.52
#C7D878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D878
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D878#FFFFFF#000000##000000
##C7D8781.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF70
Deuteranopia (green-blind)
#E2D07D
Tritanopia (blue-blind)
#D0CFC1
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c7d878;
/* rgb */ color: rgb(199, 216, 120);
/* oklch */ color: oklch(84.8% 0.123 117.3);
Tailwind
colors: {
  custom: {
    50: '#d9e4a1',
    500: '#c7d878',
    950: '#000000',
  },
}
SCSS
$custom: #c7d878;
$custom-light: #d9e4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d878",
  "rgb": {
    "r": 199,
    "g": 216,
    "b": 120
  },
  "hsl": {
    "h": 70.625,
    "s": 55.172,
    "l": 65.882
  },
  "oklch": {
    "l": 0.84847,
    "c": 0.12261,
    "h": 117.3
  },
  "luminance": 0.6261
}

Semantic roles & 50–950 ramp

primary
#C7D878
secondary
#5C4BA9
accent
#23C33F
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #C7D878

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

Preview Lab → · Contrast checker → · Palette generator →

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