#C8EC5F#C8EC5F

#C8EC5F is a very light, vivid yellow-green. Relative luminance 0.731; OKLCH L 89.0% C 0.171 H 122.0°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#C8EC5F
RGBrgb(200, 236, 95)
HSLhsl(75, 79%, 65%)
HSVhsv(75, 60%, 93%)
CMYKcmyk(15.3%, 0%, 59.7%, 7.5%)
CIE-LABlab(88.49, -31.53, 62.82)
CIE-LCHlch(88.49, 70.29, 116.66°)
OKLaboklab(89% -0.0907 0.1449)
OKLCHoklch(89% 0.171 122)
XYZxyz(55.8810, 73.0964, 21.9893)
Luminance0.7310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8EC5F #835FEC
analogous
#ECC95F #C8EC5F #82EC5F
triadic
#C8EC5F #5FC8EC #EC5FC8
tetradic
#C8EC5F #5FECC9 #835FEC #EC5F82
square
#C8EC5F #5FECC9 #835FEC #EC5F82
split-complementary
#C8EC5F #5F82EC #C95FEC
monochromatic
#91BA16 #B5E628 #C8EC5F #DBF296 #EEF9CC

Accessibility & contrast

On white

1.34
#C8EC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.62
#C8EC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8EC5F
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8EC5F#FFFFFF#000000##000000
##C8EC5F1.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF4F
Deuteranopia (green-blind)
#F4DE69
Tritanopia (blue-blind)
#D1E1CE
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #c8ec5f;
/* rgb */ color: rgb(200, 236, 95);
/* oklch */ color: oklch(89.0% 0.171 122.0);
Tailwind
colors: {
  custom: {
    50: '#dbf292',
    500: '#c8ec5f',
    950: '#000000',
  },
}
SCSS
$custom: #c8ec5f;
$custom-light: #dbf292;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ec5f",
  "rgb": {
    "r": 200,
    "g": 236,
    "b": 95
  },
  "hsl": {
    "h": 75.319,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.88997,
    "c": 0.1709,
    "h": 122
  },
  "luminance": 0.73096
}

Semantic roles & 50–950 ramp

primary
#C8EC5F
secondary
#5736BA
accent
#0ADB40
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #C8EC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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