#C8D97D#C8D97D

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

Color values

HEX#C8D97D
RGBrgb(200, 217, 125)
HSLhsl(71, 55%, 67%)
HSVhsv(71, 42%, 85%)
CMYKcmyk(7.8%, 0%, 42.4%, 14.9%)
CIE-LABlab(83.65, -19.69, 43.31)
CIE-LCHlch(83.65, 47.57, 114.45°)
OKLaboklab(85.21% -0.0547 0.1049)
OKLCHoklch(85.21% 0.118 117.6)
XYZxyz(52.3343, 63.3861, 28.8758)
Luminance0.6339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D97D #8E7DD9
analogous
#D9BC7D #C8D97D #9AD97D
triadic
#C8D97D #7DC8D9 #D97DC8
tetradic
#C8D97D #7DD9BC #8E7DD9 #D97D9A
square
#C8D97D #7DD9BC #8E7DD9 #D97D9A
split-complementary
#C8D97D #7D9AD9 #BC7DD9
monochromatic
#94AA32 #B4CB4E #C8D97D #DCE7AC #F0F5DC

Accessibility & contrast

On white

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

On black

13.68
#C8D97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D97D
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D97D#FFFFFF#000000##000000
##C8D97D1.001.5413.6813.68
#FFFFFF1.541.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8d97d;
/* rgb */ color: rgb(200, 217, 125);
/* oklch */ color: oklch(85.2% 0.118 117.6);
Tailwind
colors: {
  custom: {
    50: '#dae4a4',
    500: '#c8d97d',
    950: '#000000',
  },
}
SCSS
$custom: #c8d97d;
$custom-light: #dae4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d97d",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 125
  },
  "hsl": {
    "h": 71.087,
    "s": 54.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.85212,
    "c": 0.11831,
    "h": 117.6
  },
  "luminance": 0.63386
}

Semantic roles & 50–950 ramp

primary
#C8D97D
secondary
#5F4DAD
accent
#23C241
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #C8D97D

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

Preview Lab → · Contrast checker → · Palette generator →

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