#C8EC5A#C8EC5A

#C8EC5A is a very light, vivid yellow-green. Relative luminance 0.730; OKLCH L 88.9% C 0.175 H 121.8°. Best body text is #000000 at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#C8EC5A
RGBrgb(200, 236, 90)
HSLhsl(75, 79%, 64%)
HSVhsv(75, 62%, 93%)
CMYKcmyk(15.3%, 0%, 61.9%, 7.5%)
CIE-LABlab(88.45, -31.90, 64.85)
CIE-LCHlch(88.45, 72.27, 116.20°)
OKLaboklab(88.95% -0.0921 0.1486)
OKLCHoklch(88.95% 0.175 121.8)
XYZxyz(55.6609, 73.0084, 20.8306)
Luminance0.7301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8EC5A #7E5AEC
analogous
#ECC75A #C8EC5A #7FEC5A
triadic
#C8EC5A #5AC8EC #EC5AC8
tetradic
#C8EC5A #5AECC7 #7E5AEC #EC5A7F
square
#C8EC5A #5AECC7 #7E5AEC #EC5A7F
split-complementary
#C8EC5A #5A7FEC #C75AEC
monochromatic
#8FB715 #B6E623 #C8EC5A #DAF291 #EDF9C8

Accessibility & contrast

On white

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

On black

15.60
#C8EC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8EC5A
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8EC5A#FFFFFF#000000##000000
##C8EC5A1.001.3515.6015.60
#FFFFFF1.351.0021.0021.00
#00000015.6021.001.001.00
##00000015.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF48
Deuteranopia (green-blind)
#F5DE64
Tritanopia (blue-blind)
#D2E1CD
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #c8ec5a;
/* rgb */ color: rgb(200, 236, 90);
/* oklch */ color: oklch(88.9% 0.175 121.8);
Tailwind
colors: {
  custom: {
    50: '#dcf28f',
    500: '#c8ec5a',
    950: '#000000',
  },
}
SCSS
$custom: #c8ec5a;
$custom-light: #dcf28f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ec5a",
  "rgb": {
    "r": 200,
    "g": 236,
    "b": 90
  },
  "hsl": {
    "h": 74.795,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.88949,
    "c": 0.17482,
    "h": 121.8
  },
  "luminance": 0.73008
}

Semantic roles & 50–950 ramp

primary
#C8EC5A
secondary
#5434B6
accent
#0ADC3E
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #C8EC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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