#C8EC98#C8EC98

#C8EC98 is a very light, moderate yellow-green. Relative luminance 0.745; OKLCH L 89.8% C 0.115 H 127.4°. Best body text is #000000 at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#C8EC98
RGBrgb(200, 236, 152)
HSLhsl(86, 69%, 76%)
HSVhsv(86, 36%, 93%)
CMYKcmyk(15.3%, 0%, 35.6%, 7.5%)
CIE-LABlab(89.18, -25.66, 36.97)
CIE-LCHlch(89.18, 45.00, 124.77°)
OKLaboklab(89.77% -0.07 0.0915)
OKLCHoklch(89.77% 0.115 127.4)
XYZxyz(59.4817, 74.5367, 40.9530)
Luminance0.7454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8EC98 #BC98EC
analogous
#ECE698 #C8EC98 #9EEC98
triadic
#C8EC98 #98C8EC #EC98C8
tetradic
#C8EC98 #98ECE6 #BC98EC #EC989E
square
#C8EC98 #98ECE6 #BC98EC #EC989E
split-complementary
#C8EC98 #989EEC #E698EC
monochromatic
#91D931 #ACE264 #C8EC98 #E4F6CC #F1FAE5

Accessibility & contrast

On white

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

On black

15.91
#C8EC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8EC98
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8EC98#FFFFFF#000000##000000
##C8EC981.001.3215.9115.91
#FFFFFF1.321.0021.0021.00
#00000015.9121.001.001.00
##00000015.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8ec98;
/* rgb */ color: rgb(200, 236, 152);
/* oklch */ color: oklch(89.8% 0.115 127.4);
Tailwind
colors: {
  custom: {
    50: '#d9f2b7',
    500: '#c8ec98',
    950: '#000000',
  },
}
SCSS
$custom: #c8ec98;
$custom-light: #d9f2b7;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ec98",
  "rgb": {
    "r": 200,
    "g": 236,
    "b": 152
  },
  "hsl": {
    "h": 85.714,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.89766,
    "c": 0.11524,
    "h": 127.4
  },
  "luminance": 0.74537
}

Semantic roles & 50–950 ramp

primary
#C8EC98
secondary
#8D61C8
accent
#15D165
background
#FEFFFD
surface
#FBFEF8
border
#D4D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #C8EC98

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

Preview Lab → · Contrast checker → · Palette generator →

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