#C4E158#C4E158

#C4E158 is a very light, vivid yellow-green. Relative luminance 0.663; OKLCH L 86.2% C 0.165 H 120.1°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#C4E158
RGBrgb(196, 225, 88)
HSLhsl(73, 70%, 61%)
HSVhsv(73, 61%, 88%)
CMYKcmyk(12.9%, 0%, 60.9%, 11.8%)
CIE-LABlab(85.14, -28.47, 62.01)
CIE-LCHlch(85.14, 68.23, 114.66°)
OKLaboklab(86.21% -0.0825 0.1424)
OKLCHoklch(86.21% 0.165 120.1)
XYZxyz(51.4523, 66.2910, 19.3155)
Luminance0.6629 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4E158 #7558E1
analogous
#E1BA58 #C4E158 #80E158
triadic
#C4E158 #58C4E1 #E158C4
tetradic
#C4E158 #58E1BA #7558E1 #E15880
square
#C4E158 #58E1BA #7558E1 #E15880
split-complementary
#C4E158 #5880E1 #BA58E1
monochromatic
#86A21D #B0D526 #C4E158 #D6EA8C #E9F4C0

Accessibility & contrast

On white

1.47
#C4E158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#C4E158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4E158
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4E158#FFFFFF#000000##000000
##C4E1581.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED548
Deuteranopia (green-blind)
#EBD561
Tritanopia (blue-blind)
#CED6C4
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #c4e158;
/* rgb */ color: rgb(196, 225, 88);
/* oklch */ color: oklch(86.2% 0.165 120.1);
Tailwind
colors: {
  custom: {
    50: '#d9ea8d',
    500: '#c4e158',
    950: '#000000',
  },
}
SCSS
$custom: #c4e158;
$custom-light: #d9ea8d;
$custom-dark: #000000;
JSON
{
  "hex": "#c4e158",
  "rgb": {
    "r": 196,
    "g": 225,
    "b": 88
  },
  "hsl": {
    "h": 72.701,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.86214,
    "c": 0.16457,
    "h": 120.1
  },
  "luminance": 0.66291
}

Semantic roles & 50–950 ramp

primary
#C4E158
secondary
#5039A4
accent
#14D23C
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C4E158

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

Preview Lab → · Contrast checker → · Palette generator →

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