#C7E271#C7E271

#C7E271 is a very light, vivid yellow-green. Relative luminance 0.677; OKLCH L 86.9% C 0.143 H 120.6°. Best body text is #000000 at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#C7E271
RGBrgb(199, 226, 113)
HSLhsl(74, 66%, 66%)
HSVhsv(74, 50%, 89%)
CMYKcmyk(11.9%, 0%, 50%, 11.4%)
CIE-LABlab(85.87, -25.67, 51.78)
CIE-LCHlch(85.87, 57.79, 116.37°)
OKLaboklab(86.93% -0.0725 0.1229)
OKLCHoklch(86.93% 0.143 120.6)
XYZxyz(53.7306, 67.7272, 25.8616)
Luminance0.6773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E271 #8C71E2
analogous
#E2C571 #C7E271 #8FE271
triadic
#C7E271 #71C7E2 #E271C7
tetradic
#C7E271 #71E2C5 #8C71E2 #E2718F
square
#C7E271 #71E2C5 #8C71E2 #E2718F
split-complementary
#C7E271 #718FE2 #C571E2
monochromatic
#92B425 #B3D83E #C7E271 #DBECA4 #EFF7D7

Accessibility & contrast

On white

1.44
#C7E271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.55
#C7E271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E271
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E271#FFFFFF#000000##000000
##C7E2711.001.4414.5514.55
#FFFFFF1.441.0021.0021.00
#00000014.5521.001.001.00
##00000014.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED767
Deuteranopia (green-blind)
#EAD777
Tritanopia (blue-blind)
#D0D8C8
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #c7e271;
/* rgb */ color: rgb(199, 226, 113);
/* oklch */ color: oklch(86.9% 0.143 120.6);
Tailwind
colors: {
  custom: {
    50: '#daeb9c',
    500: '#c7e271',
    950: '#000000',
  },
}
SCSS
$custom: #c7e271;
$custom-light: #daeb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e271",
  "rgb": {
    "r": 199,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 74.336,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86928,
    "c": 0.1427,
    "h": 120.6
  },
  "luminance": 0.67727
}

Semantic roles & 50–950 ramp

primary
#C7E271
secondary
#5E42B5
accent
#18CE43
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160E
muted
#84847F

Preview Lab

Preview with #C7E271

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

Preview Lab → · Contrast checker → · Palette generator →

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