#A7E371#A7E371

#A7E371 is a very light, vivid yellow-green. Relative luminance 0.643; OKLCH L 85.0% C 0.158 H 131.9°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#A7E371
RGBrgb(167, 227, 113)
HSLhsl(92, 67%, 67%)
HSVhsv(92, 50%, 89%)
CMYKcmyk(26.4%, 0%, 50.2%, 11%)
CIE-LABlab(84.14, -38.00, 49.23)
CIE-LCHlch(84.14, 62.19, 127.67°)
OKLaboklab(85.02% -0.1054 0.1176)
OKLCHoklch(85.02% 0.158 131.9)
XYZxyz(46.3854, 64.3446, 25.5954)
Luminance0.6435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7E371 #AD71E3
analogous
#E0E371 #A7E371 #71E374
triadic
#A7E371 #71A7E3 #E371A7
tetradic
#A7E371 #71E0E3 #AD71E3 #E37471
square
#A7E371 #71E0E3 #AD71E3 #E37471
split-complementary
#A7E371 #7471E3 #E371E0
monochromatic
#69B624 #87D93E #A7E371 #C7EDA4 #E6F7D7

Accessibility & contrast

On white

1.51
#A7E371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#A7E371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7E371
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7E371#FFFFFF#000000##000000
##A7E3711.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD567
Deuteranopia (green-blind)
#E3D078
Tritanopia (blue-blind)
#A9DBC9
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #a7e371;
/* rgb */ color: rgb(167, 227, 113);
/* oklch */ color: oklch(85.0% 0.158 131.9);
Tailwind
colors: {
  custom: {
    50: '#c4ec9c',
    500: '#a7e371',
    950: '#000000',
  },
}
SCSS
$custom: #a7e371;
$custom-light: #c4ec9c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7e371",
  "rgb": {
    "r": 167,
    "g": 227,
    "b": 113
  },
  "hsl": {
    "h": 91.579,
    "s": 67.059,
    "l": 66.667
  },
  "oklch": {
    "l": 0.85023,
    "c": 0.15791,
    "h": 131.9
  },
  "luminance": 0.64346
}

Semantic roles & 50–950 ramp

primary
#A7E371
secondary
#7F42B6
accent
#17CF78
background
#FDFEFC
surface
#F9FDF5
border
#D2D5CF
text
#13160E
muted
#82847F

Preview Lab

Preview with #A7E371

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

Preview Lab → · Contrast checker → · Palette generator →

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