#C8EC97#C8EC97

#C8EC97 is a very light, moderate yellow-green. Relative luminance 0.745; OKLCH L 89.7% C 0.116 H 127.3°. Best body text is #000000 at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#C8EC97
RGBrgb(200, 236, 151)
HSLhsl(85, 69%, 76%)
HSVhsv(85, 36%, 93%)
CMYKcmyk(15.3%, 0%, 36%, 7.5%)
CIE-LABlab(89.16, -25.79, 37.45)
CIE-LCHlch(89.16, 45.47, 124.56°)
OKLaboklab(89.75% -0.0704 0.0926)
OKLCHoklch(89.75% 0.116 127.3)
XYZxyz(59.4001, 74.5041, 40.5235)
Luminance0.7450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8EC97 #BB97EC
analogous
#ECE697 #C8EC97 #9DEC97
triadic
#C8EC97 #97C8EC #EC97C8
tetradic
#C8EC97 #97ECE6 #BB97EC #EC979D
square
#C8EC97 #97ECE6 #BB97EC #EC979D
split-complementary
#C8EC97 #979DEC #E697EC
monochromatic
#91D930 #ADE363 #C8EC97 #E3F5CB #F1FAE5

Accessibility & contrast

On white

1.32
#C8EC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.90
#C8EC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8EC97
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8EC97#FFFFFF#000000##000000
##C8EC971.001.3215.9015.90
#FFFFFF1.321.0021.0021.00
#00000015.9021.001.001.00
##00000015.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E191
Deuteranopia (green-blind)
#EFDF9B
Tritanopia (blue-blind)
#CCE5D7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #c8ec97;
/* rgb */ color: rgb(200, 236, 151);
/* oklch */ color: oklch(89.7% 0.116 127.3);
Tailwind
colors: {
  custom: {
    50: '#daf2b6',
    500: '#c8ec97',
    950: '#000000',
  },
}
SCSS
$custom: #c8ec97;
$custom-light: #daf2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ec97",
  "rgb": {
    "r": 200,
    "g": 236,
    "b": 151
  },
  "hsl": {
    "h": 85.412,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.89749,
    "c": 0.11635,
    "h": 127.3
  },
  "luminance": 0.74505
}

Semantic roles & 50–950 ramp

primary
#C8EC97
secondary
#8C60C8
accent
#14D164
background
#FEFFFD
surface
#FBFEF8
border
#D4D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #C8EC97

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

Preview Lab → · Contrast checker → · Palette generator →

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