#C8EC52#C8EC52

#C8EC52 is a very light, vivid yellow-green. Relative luminance 0.729; OKLCH L 88.9% C 0.181 H 121.5°. Best body text is #000000 at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#C8EC52
RGBrgb(200, 236, 82)
HSLhsl(74, 80%, 62%)
HSVhsv(74, 65%, 93%)
CMYKcmyk(15.3%, 0%, 65.3%, 7.5%)
CIE-LABlab(88.39, -32.45, 67.96)
CIE-LCHlch(88.39, 75.31, 115.52°)
OKLaboklab(88.88% -0.0944 0.1541)
OKLCHoklch(88.88% 0.181 121.5)
XYZxyz(55.3386, 72.8795, 19.1328)
Luminance0.7288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8EC52 #7652EC
analogous
#ECC352 #C8EC52 #7BEC52
triadic
#C8EC52 #52C8EC #EC52C8
tetradic
#C8EC52 #52ECC3 #7652EC #EC527B
square
#C8EC52 #52ECC3 #7652EC #EC527B
split-complementary
#C8EC52 #527BEC #C352EC
monochromatic
#8CB013 #B6E61B #C8EC52 #DAF289 #EBF8C0

Accessibility & contrast

On white

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

On black

15.58
#C8EC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8EC52
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8EC52#FFFFFF#000000##000000
##C8EC521.001.3515.5815.58
#FFFFFF1.351.0021.0021.00
#00000015.5821.001.001.00
##00000015.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADE3D
Deuteranopia (green-blind)
#F5DE5E
Tritanopia (blue-blind)
#D2E0CD
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #c8ec52;
/* rgb */ color: rgb(200, 236, 82);
/* oklch */ color: oklch(88.9% 0.181 121.5);
Tailwind
colors: {
  custom: {
    50: '#dcf28a',
    500: '#c8ec52',
    950: '#000000',
  },
}
SCSS
$custom: #c8ec52;
$custom-light: #dcf28a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ec52",
  "rgb": {
    "r": 200,
    "g": 236,
    "b": 82
  },
  "hsl": {
    "h": 74.026,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.8888,
    "c": 0.18068,
    "h": 121.5
  },
  "luminance": 0.72879
}

Semantic roles & 50–950 ramp

primary
#C8EC52
secondary
#4F32B1
accent
#09DD3A
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160C
muted
#84857F

Preview Lab

Preview with #C8EC52

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

Preview Lab → · Contrast checker → · Palette generator →

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