#A7E231#A7E231

#A7E231 is a very light, highly saturated yellow-green. Relative luminance 0.628; OKLCH L 84.2% C 0.203 H 127.1°. Best body text is #000000 at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#A7E231
RGBrgb(167, 226, 49)
HSLhsl(80, 75%, 54%)
HSVhsv(80, 78%, 89%)
CMYKcmyk(26.1%, 0%, 78.3%, 11.4%)
CIE-LABlab(83.35, -42.37, 73.50)
CIE-LCHlch(83.35, 84.84, 119.96°)
OKLaboklab(84.22% -0.1224 0.1615)
OKLCHoklch(84.22% 0.203 127.1)
XYZxyz(43.6873, 62.8291, 12.7307)
Luminance0.6283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7E231 #6C31E2
analogous
#E2C531 #A7E231 #4FE231
triadic
#A7E231 #31A7E2 #E231A7
tetradic
#A7E231 #31E2C5 #6C31E2 #E2314F
square
#A7E231 #31E2C5 #6C31E2 #E2314F
split-complementary
#A7E231 #314FE2 #C531E2
monochromatic
#5F8613 #86BB1A #A7E231 #BEEA67 #D5F19C

Accessibility & contrast

On white

1.55
#A7E231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.57
#A7E231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7E231
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7E231#FFFFFF#000000##000000
##A7E2311.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED200
Deuteranopia (green-blind)
#E6CF44
Tritanopia (blue-blind)
#AED7C2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #a7e231;
/* rgb */ color: rgb(167, 226, 49);
/* oklch */ color: oklch(84.2% 0.203 127.1);
Tailwind
colors: {
  custom: {
    50: '#c6eb78',
    500: '#a7e231',
    950: '#000000',
  },
}
SCSS
$custom: #a7e231;
$custom-light: #c6eb78;
$custom-dark: #000000;
JSON
{
  "hex": "#a7e231",
  "rgb": {
    "r": 167,
    "g": 226,
    "b": 49
  },
  "hsl": {
    "h": 80,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.84217,
    "c": 0.20264,
    "h": 127.1
  },
  "luminance": 0.6283
}

Semantic roles & 50–950 ramp

primary
#A7E231
secondary
#4C2B8C
accent
#36F275
background
#FEFEFB
surface
#FBFDF2
border
#D4D5CC
text
#13160A
muted
#83847D

Preview Lab

Preview with #A7E231

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

Preview Lab → · Contrast checker → · Palette generator →

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