#C8D87C#C8D87C

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

Color values

HEX#C8D87C
RGBrgb(200, 216, 124)
HSLhsl(70, 54%, 67%)
HSVhsv(70, 43%, 85%)
CMYKcmyk(7.4%, 0%, 42.6%, 15.3%)
CIE-LABlab(83.36, -19.31, 43.44)
CIE-LCHlch(83.36, 47.54, 113.96°)
OKLaboklab(84.98% -0.0537 0.1051)
OKLCHoklch(84.98% 0.118 117.1)
XYZxyz(52.0137, 62.8468, 28.4554)
Luminance0.6285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D87C #8C7CD8
analogous
#D8BA7C #C8D87C #9AD87C
triadic
#C8D87C #7CC8D8 #D87CC8
tetradic
#C8D87C #7CD8BA #8C7CD8 #D87C9A
square
#C8D87C #7CD8BA #8C7CD8 #D87C9A
split-complementary
#C8D87C #7C9AD8 #BA7CD8
monochromatic
#93A832 #B4CA4D #C8D87C #DCE6AB #F0F4DA

Accessibility & contrast

On white

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

On black

13.57
#C8D87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D87C
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D87C#FFFFFF#000000##000000
##C8D87C1.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8d87c;
/* rgb */ color: rgb(200, 216, 124);
/* oklch */ color: oklch(85.0% 0.118 117.1);
Tailwind
colors: {
  custom: {
    50: '#dae4a3',
    500: '#c8d87c',
    950: '#000000',
  },
}
SCSS
$custom: #c8d87c;
$custom-light: #dae4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d87c",
  "rgb": {
    "r": 200,
    "g": 216,
    "b": 124
  },
  "hsl": {
    "h": 70.435,
    "s": 54.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.84981,
    "c": 0.11807,
    "h": 117.1
  },
  "luminance": 0.62846
}

Semantic roles & 50–950 ramp

primary
#C8D87C
secondary
#5D4DAB
accent
#24C23F
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #C8D87C

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

Preview Lab → · Contrast checker → · Palette generator →

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