#C8D87F#C8D87F

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

Color values

HEX#C8D87F
RGBrgb(200, 216, 127)
HSLhsl(71, 53%, 67%)
HSVhsv(71, 41%, 85%)
CMYKcmyk(7.4%, 0%, 41.2%, 15.3%)
CIE-LABlab(83.40, -18.98, 42.01)
CIE-LCHlch(83.40, 46.10, 114.31°)
OKLaboklab(85.03% -0.0526 0.1021)
OKLCHoklch(85.03% 0.115 117.2)
XYZxyz(52.2063, 62.9238, 29.4698)
Luminance0.6292 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D87F #8F7FD8
analogous
#D8BC7F #C8D87F #9BD87F
triadic
#C8D87F #7FC8D8 #D87FC8
tetradic
#C8D87F #7FD8BC #8F7FD8 #D87F9B
square
#C8D87F #7FD8BC #8F7FD8 #D87F9B
split-complementary
#C8D87F #7F9BD8 #BC7FD8
monochromatic
#94A934 #B4CA50 #C8D87F #DCE6AE #F0F5DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8D87F#FFFFFF#000000##000000
##C8D87F1.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)
#E3CF78
Deuteranopia (green-blind)
#E1D083
Tritanopia (blue-blind)
#D1CFC2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c8d87f;
/* rgb */ color: rgb(200, 216, 127);
/* oklch */ color: oklch(85.0% 0.115 117.2);
Tailwind
colors: {
  custom: {
    50: '#dae4a5',
    500: '#c8d87f',
    950: '#000000',
  },
}
SCSS
$custom: #c8d87f;
$custom-light: #dae4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d87f",
  "rgb": {
    "r": 200,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 70.787,
    "s": 53.293,
    "l": 67.255
  },
  "oklch": {
    "l": 0.85027,
    "c": 0.11482,
    "h": 117.2
  },
  "luminance": 0.62923
}

Semantic roles & 50–950 ramp

primary
#C8D87F
secondary
#604FAC
accent
#25C141
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #C8D87F

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

Preview Lab → · Contrast checker → · Palette generator →

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