#A7F257#A7F257

#A7F257 is a very light, vivid yellow-green. Relative luminance 0.724; OKLCH L 88.2% C 0.199 H 131.5°. Best body text is #000000 at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#A7F257
RGBrgb(167, 242, 87)
HSLhsl(89, 86%, 65%)
HSVhsv(89, 64%, 95%)
CMYKcmyk(31%, 0%, 64%, 5.1%)
CIE-LABlab(88.16, -46.95, 65.17)
CIE-LCHlch(88.16, 80.33, 125.77°)
OKLaboklab(88.2% -0.132 0.1494)
OKLCHoklch(88.2% 0.199 131.5)
XYZxyz(49.4082, 72.4062, 20.3876)
Luminance0.7241 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7F257 #A257F2
analogous
#F2EF57 #A7F257 #5AF257
triadic
#A7F257 #57A7F2 #F257A7
tetradic
#A7F257 #57F2EF #A257F2 #F2575A
square
#A7F257 #57F2EF #A257F2 #F2575A
split-complementary
#A7F257 #575AF2 #EF57F2
monochromatic
#6AC00F #89EE1E #A7F257 #C5F690 #E3FBC9

Accessibility & contrast

On white

1.36
#A7F257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.48
#A7F257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7F257
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7F257#FFFFFF#000000##000000
##A7F2571.001.3615.4815.48
#FFFFFF1.361.0021.0021.00
#00000015.4821.001.001.00
##00000015.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE143
Deuteranopia (green-blind)
#F2DB63
Tritanopia (blue-blind)
#AAE8D2
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #a7f257;
/* rgb */ color: rgb(167, 242, 87);
/* oklch */ color: oklch(88.2% 0.199 131.5);
Tailwind
colors: {
  custom: {
    50: '#c5f68d',
    500: '#a7f257',
    950: '#000000',
  },
}
SCSS
$custom: #a7f257;
$custom-light: #c5f68d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7f257",
  "rgb": {
    "r": 167,
    "g": 242,
    "b": 87
  },
  "hsl": {
    "h": 89.032,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.88204,
    "c": 0.19937,
    "h": 131.5
  },
  "luminance": 0.72408
}

Semantic roles & 50–950 ramp

primary
#A7F257
secondary
#7430BE
accent
#03E26F
background
#FEFFFC
surface
#FAFEF4
border
#D3D6CE
text
#13170D
muted
#83857F

Preview Lab

Preview with #A7F257

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

Preview Lab → · Contrast checker → · Palette generator →

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