#C8EA42#C8EA42

#C8EA42 is a very light, vivid yellow-green. Relative luminance 0.715; OKLCH L 88.3% C 0.189 H 120.5°. Best body text is #000000 at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#C8EA42
RGBrgb(200, 234, 66)
HSLhsl(72, 80%, 59%)
HSVhsv(72, 72%, 92%)
CMYKcmyk(14.5%, 0%, 71.8%, 8.2%)
CIE-LABlab(87.74, -32.45, 73.09)
CIE-LCHlch(87.74, 79.97, 113.94°)
OKLaboklab(88.32% -0.0958 0.1625)
OKLCHoklch(88.32% 0.189 120.5)
XYZxyz(54.2266, 71.5185, 16.1009)
Luminance0.7152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8EA42 #6442EA
analogous
#EAB842 #C8EA42 #74EA42
triadic
#C8EA42 #42C8EA #EA42C8
tetradic
#C8EA42 #42EAB8 #6442EA #EA4274
square
#C8EA42 #42EAB8 #6442EA #EA4274
split-complementary
#C8EA42 #4274EA #B842EA
monochromatic
#83A012 #B0D718 #C8EA42 #D8F079 #E8F6B0

Accessibility & contrast

On white

1.37
#C8EA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.30
#C8EA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8EA42
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8EA42#FFFFFF#000000##000000
##C8EA421.001.3715.3015.30
#FFFFFF1.371.0021.0021.00
#00000015.3021.001.001.00
##00000015.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DC21
Deuteranopia (green-blind)
#F4DC51
Tritanopia (blue-blind)
#D3DECA
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #c8ea42;
/* rgb */ color: rgb(200, 234, 66);
/* oklch */ color: oklch(88.3% 0.189 120.5);
Tailwind
colors: {
  custom: {
    50: '#dcf081',
    500: '#c8ea42',
    950: '#000000',
  },
}
SCSS
$custom: #c8ea42;
$custom-light: #dcf081;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ea42",
  "rgb": {
    "r": 200,
    "g": 234,
    "b": 66
  },
  "hsl": {
    "h": 72.143,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.8832,
    "c": 0.1886,
    "h": 120.5
  },
  "luminance": 0.71518
}

Semantic roles & 50–950 ramp

primary
#C8EA42
secondary
#452EA2
accent
#31F659
background
#FEFFFB
surface
#FCFEF2
border
#D5D6CC
text
#15160B
muted
#84857E

Preview Lab

Preview with #C8EA42

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

Preview Lab → · Contrast checker → · Palette generator →

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