#C4E271#C4E271

#C4E271 is a very light, vivid yellow-green. Relative luminance 0.673; OKLCH L 86.7% C 0.144 H 121.7°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#C4E271
RGBrgb(196, 226, 113)
HSLhsl(76, 66%, 66%)
HSVhsv(76, 50%, 89%)
CMYKcmyk(13.3%, 0%, 50%, 11.4%)
CIE-LABlab(85.67, -26.82, 51.49)
CIE-LCHlch(85.67, 58.05, 117.52°)
OKLaboklab(86.71% -0.0756 0.1223)
OKLCHoklch(86.71% 0.144 121.7)
XYZxyz(52.9422, 67.3207, 25.8247)
Luminance0.6732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4E271 #8F71E2
analogous
#E2C871 #C4E271 #8CE271
triadic
#C4E271 #71C4E2 #E271C4
tetradic
#C4E271 #71E2C8 #8F71E2 #E2718C
square
#C4E271 #71E2C8 #8F71E2 #E2718C
split-complementary
#C4E271 #718CE2 #C871E2
monochromatic
#8EB425 #AFD83E #C4E271 #D9ECA4 #EEF7D7

Accessibility & contrast

On white

1.45
#C4E271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.46
#C4E271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4E271
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4E271#FFFFFF#000000##000000
##C4E2711.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD767
Deuteranopia (green-blind)
#EAD677
Tritanopia (blue-blind)
#CCD8C8
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #c4e271;
/* rgb */ color: rgb(196, 226, 113);
/* oklch */ color: oklch(86.7% 0.144 121.7);
Tailwind
colors: {
  custom: {
    50: '#d8eb9c',
    500: '#c4e271',
    950: '#000000',
  },
}
SCSS
$custom: #c4e271;
$custom-light: #d8eb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#c4e271",
  "rgb": {
    "r": 196,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 75.929,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86713,
    "c": 0.14377,
    "h": 121.7
  },
  "luminance": 0.67321
}

Semantic roles & 50–950 ramp

primary
#C4E271
secondary
#6142B5
accent
#18CE48
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160E
muted
#84847F

Preview Lab

Preview with #C4E271

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

Preview Lab → · Contrast checker → · Palette generator →

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