#C7D877#C7D877

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

Color values

HEX#C7D877
RGBrgb(199, 216, 119)
HSLhsl(71, 55%, 66%)
HSVhsv(71, 45%, 85%)
CMYKcmyk(7.9%, 0%, 44.9%, 15.3%)
CIE-LABlab(83.22, -20.23, 45.71)
CIE-LCHlch(83.22, 49.98, 113.87°)
OKLaboklab(84.83% -0.0567 0.1099)
OKLCHoklch(84.83% 0.124 117.3)
XYZxyz(51.4393, 62.5862, 26.8197)
Luminance0.6259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D877 #8877D8
analogous
#D8B877 #C7D877 #96D877
triadic
#C7D877 #77C7D8 #D877C7
tetradic
#C7D877 #77D8B8 #8877D8 #D87796
square
#C7D877 #77D8B8 #8877D8 #D87796
split-complementary
#C7D877 #7796D8 #B877D8
monochromatic
#91A52F #B3CA47 #C7D877 #DBE6A7 #EEF3D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7D877#FFFFFF#000000##000000
##C7D8771.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)
#E3CF6F
Deuteranopia (green-blind)
#E2D07C
Tritanopia (blue-blind)
#D0CFC1
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c7d877;
/* rgb */ color: rgb(199, 216, 119);
/* oklch */ color: oklch(84.8% 0.124 117.3);
Tailwind
colors: {
  custom: {
    50: '#d9e4a0',
    500: '#c7d877',
    950: '#000000',
  },
}
SCSS
$custom: #c7d877;
$custom-light: #d9e4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d877",
  "rgb": {
    "r": 199,
    "g": 216,
    "b": 119
  },
  "hsl": {
    "h": 70.515,
    "s": 55.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.84832,
    "c": 0.12366,
    "h": 117.3
  },
  "luminance": 0.62586
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7D877

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

Preview Lab → · Contrast checker → · Palette generator →

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