#C4E787#C4E787

#C4E787 is a very light, vivid yellow-green. Relative luminance 0.706; OKLCH L 88.1% C 0.128 H 125.3°. Best body text is #000000 at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#C4E787
RGBrgb(196, 231, 135)
HSLhsl(82, 67%, 72%)
HSVhsv(82, 42%, 91%)
CMYKcmyk(15.2%, 0%, 41.6%, 9.4%)
CIE-LABlab(87.31, -26.84, 42.94)
CIE-LCHlch(87.31, 50.64, 122.01°)
OKLaboklab(88.12% -0.0741 0.1046)
OKLCHoklch(88.12% 0.128 125.3)
XYZxyz(55.7137, 70.6365, 33.6160)
Luminance0.7064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4E787 #AA87E7
analogous
#E7DA87 #C4E787 #94E787
triadic
#C4E787 #87C4E7 #E787C4
tetradic
#C4E787 #87E7DA #AA87E7 #E78794
square
#C4E787 #87E7DA #AA87E7 #E78794
split-complementary
#C4E787 #8794E7 #DA87E7
monochromatic
#90CB29 #ABDD54 #C4E787 #DDF1BA #F2FAE5

Accessibility & contrast

On white

1.39
#C4E787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.13
#C4E787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4E787
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4E787#FFFFFF#000000##000000
##C4E7871.001.3915.1315.13
#FFFFFF1.391.0021.0021.00
#00000015.1321.001.001.00
##00000015.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DC80
Deuteranopia (green-blind)
#ECDA8C
Tritanopia (blue-blind)
#CADFD0
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #c4e787;
/* rgb */ color: rgb(196, 231, 135);
/* oklch */ color: oklch(88.1% 0.128 125.3);
Tailwind
colors: {
  custom: {
    50: '#d7eeab',
    500: '#c4e787',
    950: '#000000',
  },
}
SCSS
$custom: #c4e787;
$custom-light: #d7eeab;
$custom-dark: #000000;
JSON
{
  "hex": "#c4e787",
  "rgb": {
    "r": 196,
    "g": 231,
    "b": 135
  },
  "hsl": {
    "h": 81.875,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.88121,
    "c": 0.12818,
    "h": 125.3
  },
  "luminance": 0.70637
}

Semantic roles & 50–950 ramp

primary
#C4E787
secondary
#7A52C0
accent
#17CF5A
background
#FEFFFD
surface
#FBFEF7
border
#D4D6D0
text
#141610
muted
#838581

Preview Lab

Preview with #C4E787

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

Preview Lab → · Contrast checker → · Palette generator →

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