#A5F271#A5F271

#A5F271 is a very light, vivid yellow-green. Relative luminance 0.727; OKLCH L 88.4% C 0.179 H 134.3°. Best body text is #000000 at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#A5F271
RGBrgb(165, 242, 113)
HSLhsl(96, 83%, 70%)
HSVhsv(96, 53%, 95%)
CMYKcmyk(31.8%, 0%, 53.3%, 5.1%)
CIE-LABlab(88.30, -45.28, 54.17)
CIE-LCHlch(88.30, 70.61, 129.89°)
OKLaboklab(88.37% -0.1254 0.1285)
OKLCHoklch(88.37% 0.18 134.3)
XYZxyz(50.2488, 72.6939, 27.0034)
Luminance0.7270 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5F271 #BE71F2
analogous
#E6F271 #A5F271 #71F27E
triadic
#A5F271 #71A5F2 #F271A5
tetradic
#A5F271 #71E6F2 #BE71F2 #F27E71
square
#A5F271 #71E6F2 #BE71F2 #F27E71
split-complementary
#A5F271 #7E71F2 #F271E6
monochromatic
#62D514 #81ED39 #A5F271 #C9F7A9 #ECFCE1

Accessibility & contrast

On white

1.35
#A5F271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.54
#A5F271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5F271
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5F271#FFFFFF#000000##000000
##A5F2711.001.3515.5415.54
#FFFFFF1.351.0021.0021.00
#00000015.5421.001.001.00
##00000015.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE265
Deuteranopia (green-blind)
#EFDB7A
Tritanopia (blue-blind)
#A5EAD5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #a5f271;
/* rgb */ color: rgb(165, 242, 113);
/* oklch */ color: oklch(88.4% 0.179 134.3);
Tailwind
colors: {
  custom: {
    50: '#c3f79d',
    500: '#a5f271',
    950: '#000000',
  },
}
SCSS
$custom: #a5f271;
$custom-light: #c3f79d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5f271",
  "rgb": {
    "r": 165,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 95.814,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.88366,
    "c": 0.1795,
    "h": 134.3
  },
  "luminance": 0.72696
}

Semantic roles & 50–950 ramp

primary
#A5F271
secondary
#923CCB
accent
#06E088
background
#FDFFFC
surface
#F9FEF5
border
#D2D6CF
text
#13170E
muted
#82857F

Preview Lab

Preview with #A5F271

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

Preview Lab → · Contrast checker → · Palette generator →

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