#C8D87E#C8D87E

#C8D87E is a very light, moderate yellow-green. Relative luminance 0.629; OKLCH L 85.0% C 0.116 H 117.2°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#C8D87E
RGBrgb(200, 216, 126)
HSLhsl(71, 54%, 67%)
HSVhsv(71, 42%, 85%)
CMYKcmyk(7.4%, 0%, 41.7%, 15.3%)
CIE-LABlab(83.39, -19.09, 42.49)
CIE-LCHlch(83.39, 46.58, 114.19°)
OKLaboklab(85.01% -0.053 0.1031)
OKLCHoklch(85.01% 0.116 117.2)
XYZxyz(52.1415, 62.8979, 29.1283)
Luminance0.6290 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D87E #8E7ED8
analogous
#D8BB7E #C8D87E #9BD87E
triadic
#C8D87E #7EC8D8 #D87EC8
tetradic
#C8D87E #7ED8BB #8E7ED8 #D87E9B
square
#C8D87E #7ED8BB #8E7ED8 #D87E9B
split-complementary
#C8D87E #7E9BD8 #BB7ED8
monochromatic
#94A933 #B4CA4F #C8D87E #DCE6AD #F0F4DC

Accessibility & contrast

On white

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

On black

13.58
#C8D87E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D87E
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D87E#FFFFFF#000000##000000
##C8D87E1.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF77
Deuteranopia (green-blind)
#E1D082
Tritanopia (blue-blind)
#D1CFC2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c8d87e;
/* rgb */ color: rgb(200, 216, 126);
/* oklch */ color: oklch(85.0% 0.116 117.2);
Tailwind
colors: {
  custom: {
    50: '#dae4a5',
    500: '#c8d87e',
    950: '#000000',
  },
}
SCSS
$custom: #c8d87e;
$custom-light: #dae4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d87e",
  "rgb": {
    "r": 200,
    "g": 216,
    "b": 126
  },
  "hsl": {
    "h": 70.667,
    "s": 53.571,
    "l": 67.059
  },
  "oklch": {
    "l": 0.85012,
    "c": 0.11592,
    "h": 117.2
  },
  "luminance": 0.62897
}

Semantic roles & 50–950 ramp

primary
#C8D87E
secondary
#5F4EAC
accent
#24C140
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #C8D87E

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

Preview Lab → · Contrast checker → · Palette generator →

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