#A7E240#A7E240

#A7E240 is a very light, vivid yellow-green. Relative luminance 0.630; OKLCH L 84.3% C 0.195 H 127.7°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#A7E240
RGBrgb(167, 226, 64)
HSLhsl(82, 74%, 57%)
HSVhsv(82, 72%, 89%)
CMYKcmyk(26.1%, 0%, 71.7%, 11.4%)
CIE-LABlab(83.43, -41.62, 68.87)
CIE-LCHlch(83.43, 80.47, 121.15°)
OKLaboklab(84.31% -0.1192 0.1541)
OKLCHoklch(84.31% 0.195 127.7)
XYZxyz(44.0582, 62.9774, 14.6841)
Luminance0.6298 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7E240 #7B40E2
analogous
#E2CC40 #A7E240 #56E240
triadic
#A7E240 #40A7E2 #E240A7
tetradic
#A7E240 #40E2CC #7B40E2 #E24056
square
#A7E240 #40E2CC #7B40E2 #E24056
split-complementary
#A7E240 #4056E2 #CC40E2
monochromatic
#659216 #89C71E #A7E240 #BFEA75 #D8F2AA

Accessibility & contrast

On white

1.54
#A7E240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.60
#A7E240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7E240
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7E240#FFFFFF#000000##000000
##A7E2401.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD222
Deuteranopia (green-blind)
#E5CF4F
Tritanopia (blue-blind)
#ADD8C3
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #a7e240;
/* rgb */ color: rgb(167, 226, 64);
/* oklch */ color: oklch(84.3% 0.195 127.7);
Tailwind
colors: {
  custom: {
    50: '#c5eb7f',
    500: '#a7e240',
    950: '#000000',
  },
}
SCSS
$custom: #a7e240;
$custom-light: #c5eb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7e240",
  "rgb": {
    "r": 167,
    "g": 226,
    "b": 64
  },
  "hsl": {
    "h": 81.852,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.84306,
    "c": 0.19483,
    "h": 127.7
  },
  "luminance": 0.62978
}

Semantic roles & 50–950 ramp

primary
#A7E240
secondary
#553096
accent
#38F07B
background
#FEFEFB
surface
#FAFDF2
border
#D3D5CC
text
#13160B
muted
#83847E

Preview Lab

Preview with #A7E240

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

Preview Lab → · Contrast checker → · Palette generator →

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