#C4E987#C4E987

#C4E987 is a very light, vivid yellow-green. Relative luminance 0.718; OKLCH L 88.6% C 0.131 H 125.9°. Best body text is #000000 at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#C4E987
RGBrgb(196, 233, 135)
HSLhsl(83, 69%, 72%)
HSVhsv(83, 42%, 91%)
CMYKcmyk(15.9%, 0%, 42.1%, 8.6%)
CIE-LABlab(87.85, -27.79, 43.63)
CIE-LCHlch(87.85, 51.73, 122.49°)
OKLaboklab(88.56% -0.0767 0.1062)
OKLCHoklch(88.56% 0.131 125.9)
XYZxyz(56.2767, 71.7624, 33.8036)
Luminance0.7176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4E987 #AC87E9
analogous
#E9DD87 #C4E987 #93E987
triadic
#C4E987 #87C4E9 #E987C4
tetradic
#C4E987 #87E9DD #AC87E9 #E98793
square
#C4E987 #87E9DD #AC87E9 #E98793
split-complementary
#C4E987 #8793E9 #DD87E9
monochromatic
#90D026 #ABE053 #C4E987 #DDF2BB #F2FAE5

Accessibility & contrast

On white

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

On black

15.35
#C4E987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4E987
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4E987#FFFFFF#000000##000000
##C4E9871.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DE7F
Deuteranopia (green-blind)
#EDDC8C
Tritanopia (blue-blind)
#C9E1D1
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #c4e987;
/* rgb */ color: rgb(196, 233, 135);
/* oklch */ color: oklch(88.6% 0.131 125.9);
Tailwind
colors: {
  custom: {
    50: '#d7f0ab',
    500: '#c4e987',
    950: '#000000',
  },
}
SCSS
$custom: #c4e987;
$custom-light: #d7f0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#c4e987",
  "rgb": {
    "r": 196,
    "g": 233,
    "b": 135
  },
  "hsl": {
    "h": 82.653,
    "s": 69.014,
    "l": 72.157
  },
  "oklch": {
    "l": 0.88559,
    "c": 0.13101,
    "h": 125.9
  },
  "luminance": 0.71763
}

Semantic roles & 50–950 ramp

primary
#C4E987
secondary
#7C52C3
accent
#15D15C
background
#FEFFFD
surface
#FBFEF7
border
#D4D6D0
text
#141610
muted
#838581

Preview Lab

Preview with #C4E987

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

Preview Lab → · Contrast checker → · Palette generator →

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