#C8E97F#C8E97F

#C8E97F is a very light, vivid yellow-green. Relative luminance 0.721; OKLCH L 88.7% C 0.138 H 123.4°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#C8E97F
RGBrgb(200, 233, 127)
HSLhsl(79, 71%, 71%)
HSVhsv(79, 45%, 91%)
CMYKcmyk(14.2%, 0%, 45.5%, 8.6%)
CIE-LABlab(88.01, -27.20, 47.76)
CIE-LCHlch(88.01, 54.96, 119.66°)
OKLaboklab(88.72% -0.0758 0.115)
OKLCHoklch(88.72% 0.138 123.4)
XYZxyz(56.7891, 72.0893, 30.9974)
Luminance0.7209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8E97F #A07FE9
analogous
#E9D57F #C8E97F #93E97F
triadic
#C8E97F #7FC8E9 #E97FC8
tetradic
#C8E97F #7FE9D5 #A07FE9 #E97F93
square
#C8E97F #7FE9D5 #A07FE9 #E97F93
split-complementary
#C8E97F #7F93E9 #D57FE9
monochromatic
#96CB23 #B2E04B #C8E97F #DEF2B3 #F4FBE5

Accessibility & contrast

On white

1.36
#C8E97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.42
#C8E97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8E97F
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8E97F#FFFFFF#000000##000000
##C8E97F1.001.3615.4215.42
#FFFFFF1.361.0021.0021.00
#00000015.4221.001.001.00
##00000015.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DE76
Deuteranopia (green-blind)
#EFDD85
Tritanopia (blue-blind)
#CFE0D0
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #c8e97f;
/* rgb */ color: rgb(200, 233, 127);
/* oklch */ color: oklch(88.7% 0.138 123.4);
Tailwind
colors: {
  custom: {
    50: '#daf0a6',
    500: '#c8e97f',
    950: '#000000',
  },
}
SCSS
$custom: #c8e97f;
$custom-light: #daf0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8e97f",
  "rgb": {
    "r": 200,
    "g": 233,
    "b": 127
  },
  "hsl": {
    "h": 78.679,
    "s": 70.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.88718,
    "c": 0.13772,
    "h": 123.4
  },
  "luminance": 0.72089
}

Semantic roles & 50–950 ramp

primary
#C8E97F
secondary
#704AC2
accent
#13D34F
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #C8E97F

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

Preview Lab → · Contrast checker → · Palette generator →

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