#C8D97E#C8D97E

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

Color values

HEX#C8D97E
RGBrgb(200, 217, 126)
HSLhsl(71, 54%, 67%)
HSVhsv(71, 42%, 85%)
CMYKcmyk(7.8%, 0%, 41.9%, 14.9%)
CIE-LABlab(83.66, -19.58, 42.83)
CIE-LCHlch(83.66, 47.09, 114.57°)
OKLaboklab(85.23% -0.0543 0.1039)
OKLCHoklch(85.23% 0.117 117.6)
XYZxyz(52.3985, 63.4118, 29.2139)
Luminance0.6341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D97E #8F7ED9
analogous
#D9BD7E #C8D97E #9AD97E
triadic
#C8D97E #7EC8D9 #D97EC8
tetradic
#C8D97E #7ED9BD #8F7ED9 #D97E9A
square
#C8D97E #7ED9BD #8F7ED9 #D97E9A
split-complementary
#C8D97E #7E9AD9 #BD7ED9
monochromatic
#94AA32 #B4CB4F #C8D97E #DCE7AD #F0F5DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8D97E#FFFFFF#000000##000000
##C8D97E1.001.5313.6813.68
#FFFFFF1.531.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8d97e;
/* rgb */ color: rgb(200, 217, 126);
/* oklch */ color: oklch(85.2% 0.117 117.6);
Tailwind
colors: {
  custom: {
    50: '#dae4a5',
    500: '#c8d97e',
    950: '#000000',
  },
}
SCSS
$custom: #c8d97e;
$custom-light: #dae4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d97e",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 126
  },
  "hsl": {
    "h": 71.209,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.85227,
    "c": 0.11723,
    "h": 117.6
  },
  "luminance": 0.63411
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8D97E

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

Preview Lab → · Contrast checker → · Palette generator →

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