#C8EC5C#C8EC5C

#C8EC5C is a very light, vivid yellow-green. Relative luminance 0.730; OKLCH L 89.0% C 0.173 H 121.9°. Best body text is #000000 at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#C8EC5C
RGBrgb(200, 236, 92)
HSLhsl(75, 79%, 64%)
HSVhsv(75, 61%, 93%)
CMYKcmyk(15.3%, 0%, 61%, 7.5%)
CIE-LABlab(88.47, -31.76, 64.04)
CIE-LCHlch(88.47, 71.49, 116.38°)
OKLaboklab(88.97% -0.0916 0.1471)
OKLCHoklch(88.97% 0.173 121.9)
XYZxyz(55.7472, 73.0429, 21.2850)
Luminance0.7304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8EC5C #805CEC
analogous
#ECC85C #C8EC5C #80EC5C
triadic
#C8EC5C #5CC8EC #EC5CC8
tetradic
#C8EC5C #5CECC8 #805CEC #EC5C80
square
#C8EC5C #5CECC8 #805CEC #EC5C80
split-complementary
#C8EC5C #5C80EC #C85CEC
monochromatic
#8FB815 #B6E625 #C8EC5C #DAF293 #EDF9CA

Accessibility & contrast

On white

1.35
#C8EC5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.61
#C8EC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8EC5C
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8EC5C#FFFFFF#000000##000000
##C8EC5C1.001.3515.6115.61
#FFFFFF1.351.0021.0021.00
#00000015.6121.001.001.00
##00000015.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF4B
Deuteranopia (green-blind)
#F5DE66
Tritanopia (blue-blind)
#D2E1CE
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #c8ec5c;
/* rgb */ color: rgb(200, 236, 92);
/* oklch */ color: oklch(89.0% 0.173 121.9);
Tailwind
colors: {
  custom: {
    50: '#dcf290',
    500: '#c8ec5c',
    950: '#000000',
  },
}
SCSS
$custom: #c8ec5c;
$custom-light: #dcf290;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ec5c",
  "rgb": {
    "r": 200,
    "g": 236,
    "b": 92
  },
  "hsl": {
    "h": 75,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.88968,
    "c": 0.17327,
    "h": 121.9
  },
  "luminance": 0.73043
}

Semantic roles & 50–950 ramp

primary
#C8EC5C
secondary
#5535B8
accent
#0ADB3E
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #C8EC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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