#C7D87F#C7D87F

#C7D87F is a very light, moderate yellow-green. Relative luminance 0.628; OKLCH L 85.0% C 0.115 H 117.8°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#C7D87F
RGBrgb(199, 216, 127)
HSLhsl(71, 53%, 67%)
HSVhsv(71, 41%, 85%)
CMYKcmyk(7.9%, 0%, 41.2%, 15.3%)
CIE-LABlab(83.33, -19.36, 41.91)
CIE-LCHlch(83.33, 46.16, 114.80°)
OKLaboklab(84.95% -0.0536 0.1019)
OKLCHoklch(84.95% 0.115 117.8)
XYZxyz(51.9401, 62.7865, 29.4573)
Luminance0.6279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D87F #907FD8
analogous
#D8BD7F #C7D87F #9AD87F
triadic
#C7D87F #7FC7D8 #D87FC7
tetradic
#C7D87F #7FD8BD #907FD8 #D87F9A
square
#C7D87F #7FD8BD #907FD8 #D87F9A
split-complementary
#C7D87F #7F9AD8 #BD7FD8
monochromatic
#93A934 #B2CA50 #C7D87F #DCE6AE #F0F5DD

Accessibility & contrast

On white

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

On black

13.56
#C7D87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D87F
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D87F#FFFFFF#000000##000000
##C7D87F1.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF78
Deuteranopia (green-blind)
#E1D083
Tritanopia (blue-blind)
#CFCFC2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c7d87f;
/* rgb */ color: rgb(199, 216, 127);
/* oklch */ color: oklch(85.0% 0.115 117.8);
Tailwind
colors: {
  custom: {
    50: '#d9e4a5',
    500: '#c7d87f',
    950: '#000000',
  },
}
SCSS
$custom: #c7d87f;
$custom-light: #d9e4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d87f",
  "rgb": {
    "r": 199,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 71.461,
    "s": 53.293,
    "l": 67.255
  },
  "oklch": {
    "l": 0.84951,
    "c": 0.1151,
    "h": 117.8
  },
  "luminance": 0.62786
}

Semantic roles & 50–950 ramp

primary
#C7D87F
secondary
#614FAC
accent
#25C143
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #C7D87F

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

Preview Lab → · Contrast checker → · Palette generator →

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