#C4F158#C4F158

#C4F158 is a very light, vivid yellow-green. Relative luminance 0.754; OKLCH L 89.8% C 0.184 H 124.1°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#C4F158
RGBrgb(196, 241, 88)
HSLhsl(78, 85%, 65%)
HSVhsv(78, 63%, 95%)
CMYKcmyk(18.7%, 0%, 63.5%, 5.5%)
CIE-LABlab(89.56, -35.86, 66.76)
CIE-LCHlch(89.56, 75.79, 118.24°)
OKLaboklab(89.77% -0.1031 0.1524)
OKLCHoklch(89.77% 0.184 124.1)
XYZxyz(55.9821, 75.3505, 20.8254)
Luminance0.7535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4F158 #8558F1
analogous
#F1D158 #C4F158 #78F158
triadic
#C4F158 #58C4F1 #F158C4
tetradic
#C4F158 #58F1D1 #8558F1 #F15878
square
#C4F158 #58F1D1 #8558F1 #F15878
split-complementary
#C4F158 #5878F1 #D158F1
monochromatic
#8BBF10 #B0EC20 #C4F158 #D8F690 #ECFAC9

Accessibility & contrast

On white

1.31
#C4F158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.07
#C4F158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4F158
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4F158#FFFFFF#000000##000000
##C4F1581.001.3116.0716.07
#FFFFFF1.311.0021.0021.00
#00000016.0721.001.001.00
##00000016.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE344
Deuteranopia (green-blind)
#F8E163
Tritanopia (blue-blind)
#CDE6D1
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #c4f158;
/* rgb */ color: rgb(196, 241, 88);
/* oklch */ color: oklch(89.8% 0.184 124.1);
Tailwind
colors: {
  custom: {
    50: '#d9f58e',
    500: '#c4f158',
    950: '#000000',
  },
}
SCSS
$custom: #c4f158;
$custom-light: #d9f58e;
$custom-dark: #000000;
JSON
{
  "hex": "#c4f158",
  "rgb": {
    "r": 196,
    "g": 241,
    "b": 88
  },
  "hsl": {
    "h": 77.647,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.8977,
    "c": 0.18401,
    "h": 124.1
  },
  "luminance": 0.75351
}

Semantic roles & 50–950 ramp

primary
#C4F158
secondary
#5A30BD
accent
#05E145
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C4F158

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

Preview Lab → · Contrast checker → · Palette generator →

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