#C8EC51#C8EC51

#C8EC51 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.57:1 contrast (WCAG AA passes).

Color values

HEX#C8EC51
RGBrgb(200, 236, 81)
HSLhsl(74, 80%, 62%)
HSVhsv(74, 66%, 93%)
CMYKcmyk(15.3%, 0%, 65.7%, 7.5%)
CIE-LABlab(88.38, -32.51, 68.34)
CIE-LCHlch(88.38, 75.68, 115.44°)
OKLaboklab(88.87% -0.0947 0.1547)
OKLCHoklch(88.87% 0.181 121.5)
XYZxyz(55.3008, 72.8643, 18.9339)
Luminance0.7286 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8EC51 #7551EC
analogous
#ECC251 #C8EC51 #7BEC51
triadic
#C8EC51 #51C8EC #EC51C8
tetradic
#C8EC51 #51ECC2 #7551EC #EC517B
square
#C8EC51 #51ECC2 #7551EC #EC517B
split-complementary
#C8EC51 #517BEC #C251EC
monochromatic
#8BAF13 #B7E61A #C8EC51 #D9F288 #EBF8BF

Accessibility & contrast

On white

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

On black

15.57
#C8EC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8EC51
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8EC51#FFFFFF#000000##000000
##C8EC511.001.3515.5715.57
#FFFFFF1.351.0021.0021.00
#00000015.5721.001.001.00
##00000015.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8ec51;
/* rgb */ color: rgb(200, 236, 81);
/* oklch */ color: oklch(88.9% 0.181 121.5);
Tailwind
colors: {
  custom: {
    50: '#dcf289',
    500: '#c8ec51',
    950: '#000000',
  },
}
SCSS
$custom: #c8ec51;
$custom-light: #dcf289;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ec51",
  "rgb": {
    "r": 200,
    "g": 236,
    "b": 81
  },
  "hsl": {
    "h": 73.935,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.88872,
    "c": 0.18138,
    "h": 121.5
  },
  "luminance": 0.72864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8EC51

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

Preview Lab → · Contrast checker → · Palette generator →

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