#C8D97F#C8D97F

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

Color values

HEX#C8D97F
RGBrgb(200, 217, 127)
HSLhsl(71, 54%, 67%)
HSVhsv(71, 41%, 85%)
CMYKcmyk(7.8%, 0%, 41.5%, 14.9%)
CIE-LABlab(83.67, -19.47, 42.35)
CIE-LCHlch(83.67, 46.61, 114.69°)
OKLaboklab(85.24% -0.054 0.1029)
OKLCHoklch(85.24% 0.116 117.7)
XYZxyz(52.4633, 63.4377, 29.5555)
Luminance0.6344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D97F #907FD9
analogous
#D9BD7F #C8D97F #9BD97F
triadic
#C8D97F #7FC8D9 #D97FC8
tetradic
#C8D97F #7FD9BD #907FD9 #D97F9B
square
#C8D97F #7FD9BD #907FD9 #D97F9B
split-complementary
#C8D97F #7F9BD9 #BD7FD9
monochromatic
#94AB33 #B4CB50 #C8D97F #DCE7AE #F1F5DD

Accessibility & contrast

On white

1.53
#C8D97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#C8D97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D97F
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D97F#FFFFFF#000000##000000
##C8D97F1.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D078
Deuteranopia (green-blind)
#E2D183
Tritanopia (blue-blind)
#D0D0C3
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c8d97f;
/* rgb */ color: rgb(200, 217, 127);
/* oklch */ color: oklch(85.2% 0.116 117.7);
Tailwind
colors: {
  custom: {
    50: '#dae4a5',
    500: '#c8d97f',
    950: '#000000',
  },
}
SCSS
$custom: #c8d97f;
$custom-light: #dae4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d97f",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 127
  },
  "hsl": {
    "h": 71.333,
    "s": 54.217,
    "l": 67.451
  },
  "oklch": {
    "l": 0.85243,
    "c": 0.11615,
    "h": 117.7
  },
  "luminance": 0.63437
}

Semantic roles & 50–950 ramp

primary
#C8D97F
secondary
#604EAE
accent
#24C242
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #C8D97F

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

Preview Lab → · Contrast checker → · Palette generator →

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