#C8D97C#C8D97C

#C8D97C is a very light, moderate yellow-green. Relative luminance 0.634; OKLCH L 85.2% C 0.119 H 117.5°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#C8D97C
RGBrgb(200, 217, 124)
HSLhsl(71, 55%, 67%)
HSVhsv(71, 43%, 85%)
CMYKcmyk(7.8%, 0%, 42.9%, 14.9%)
CIE-LABlab(83.63, -19.80, 43.78)
CIE-LCHlch(83.63, 48.05, 114.33°)
OKLaboklab(85.2% -0.0551 0.1059)
OKLCHoklch(85.2% 0.119 117.5)
XYZxyz(52.2707, 63.3607, 28.5411)
Luminance0.6336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D97C #8D7CD9
analogous
#D9BC7C #C8D97C #9AD97C
triadic
#C8D97C #7CC8D9 #D97CC8
tetradic
#C8D97C #7CD9BC #8D7CD9 #D97C9A
square
#C8D97C #7CD9BC #8D7CD9 #D97C9A
split-complementary
#C8D97C #7C9AD9 #BC7CD9
monochromatic
#93A931 #B4CB4D #C8D97C #DCE7AB #F0F5DB

Accessibility & contrast

On white

1.54
#C8D97C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.67
#C8D97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D97C
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D97C#FFFFFF#000000##000000
##C8D97C1.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D075
Deuteranopia (green-blind)
#E2D181
Tritanopia (blue-blind)
#D1D0C3
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c8d97c;
/* rgb */ color: rgb(200, 217, 124);
/* oklch */ color: oklch(85.2% 0.119 117.5);
Tailwind
colors: {
  custom: {
    50: '#dae4a3',
    500: '#c8d97c',
    950: '#000000',
  },
}
SCSS
$custom: #c8d97c;
$custom-light: #dae4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d97c",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 124
  },
  "hsl": {
    "h": 70.968,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.85197,
    "c": 0.11939,
    "h": 117.5
  },
  "luminance": 0.6336
}

Semantic roles & 50–950 ramp

primary
#C8D97C
secondary
#5E4DAD
accent
#23C340
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #C8D97C

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

Preview Lab → · Contrast checker → · Palette generator →

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