#C8E158#C8E158

#C8E158 is a very light, vivid yellow-green. Relative luminance 0.668; OKLCH L 86.5% C 0.163 H 118.7°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#C8E158
RGBrgb(200, 225, 88)
HSLhsl(71, 70%, 61%)
HSVhsv(71, 61%, 88%)
CMYKcmyk(11.1%, 0%, 60.9%, 11.8%)
CIE-LABlab(85.42, -26.89, 62.39)
CIE-LCHlch(85.42, 67.94, 113.32°)
OKLaboklab(86.51% -0.0784 0.1431)
OKLCHoklch(86.51% 0.163 118.7)
XYZxyz(52.5069, 66.8347, 19.3649)
Luminance0.6683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8E158 #7158E1
analogous
#E1B658 #C8E158 #84E158
triadic
#C8E158 #58C8E1 #E158C8
tetradic
#C8E158 #58E1B6 #7158E1 #E15884
square
#C8E158 #58E1B6 #7158E1 #E15884
split-complementary
#C8E158 #5884E1 #B658E1
monochromatic
#89A21D #B6D526 #C8E158 #D9EA8C #EAF4C0

Accessibility & contrast

On white

1.46
#C8E158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.37
#C8E158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8E158
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8E158#FFFFFF#000000##000000
##C8E1581.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD548
Deuteranopia (green-blind)
#ECD661
Tritanopia (blue-blind)
#D3D6C4
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #c8e158;
/* rgb */ color: rgb(200, 225, 88);
/* oklch */ color: oklch(86.5% 0.163 118.7);
Tailwind
colors: {
  custom: {
    50: '#dbea8d',
    500: '#c8e158',
    950: '#000000',
  },
}
SCSS
$custom: #c8e158;
$custom-light: #dbea8d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8e158",
  "rgb": {
    "r": 200,
    "g": 225,
    "b": 88
  },
  "hsl": {
    "h": 70.949,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.86506,
    "c": 0.16315,
    "h": 118.7
  },
  "luminance": 0.66834
}

Semantic roles & 50–950 ramp

primary
#C8E158
secondary
#4C39A4
accent
#14D237
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C8E158

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

Preview Lab → · Contrast checker → · Palette generator →

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