#A5F671#A5F671

#A5F671 is a very light, vivid yellow-green. Relative luminance 0.751; OKLCH L 89.3% C 0.185 H 134.7°. Best body text is #000000 at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#A5F671
RGBrgb(165, 246, 113)
HSLhsl(97, 88%, 70%)
HSVhsv(97, 54%, 96%)
CMYKcmyk(32.9%, 0%, 54.1%, 3.5%)
CIE-LABlab(89.44, -46.99, 55.52)
CIE-LCHlch(89.44, 72.73, 130.24°)
OKLaboklab(89.29% -0.1301 0.1314)
OKLCHoklch(89.29% 0.185 134.7)
XYZxyz(51.4523, 75.1010, 27.4046)
Luminance0.7510 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5F671 #C271F6
analogous
#E8F671 #A5F671 #71F67F
triadic
#A5F671 #71A5F6 #F671A5
tetradic
#A5F671 #71E8F6 #C271F6 #F67F71
square
#A5F671 #71E8F6 #C271F6 #F67F71
split-complementary
#A5F671 #7F71F6 #F671E8
monochromatic
#60DE0E #81F237 #A5F671 #C9FAAB #EDFDE2

Accessibility & contrast

On white

1.31
#A5F671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.02
#A5F671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5F671
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5F671#FFFFFF#000000##000000
##A5F6711.001.3116.0216.02
#FFFFFF1.311.0021.0021.00
#00000016.0221.001.001.00
##00000016.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE564
Deuteranopia (green-blind)
#F3DE7A
Tritanopia (blue-blind)
#A4EED8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #a5f671;
/* rgb */ color: rgb(165, 246, 113);
/* oklch */ color: oklch(89.3% 0.185 134.7);
Tailwind
colors: {
  custom: {
    50: '#c3f99d',
    500: '#a5f671',
    950: '#000000',
  },
}
SCSS
$custom: #a5f671;
$custom-light: #c3f99d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5f671",
  "rgb": {
    "r": 165,
    "g": 246,
    "b": 113
  },
  "hsl": {
    "h": 96.541,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89292,
    "c": 0.18488,
    "h": 134.7
  },
  "luminance": 0.75103
}

Semantic roles & 50–950 ramp

primary
#A5F671
secondary
#963BD0
accent
#01E58C
background
#FDFFFC
surface
#F9FFF5
border
#D2D7CF
text
#13170F
muted
#828580

Preview Lab

Preview with #A5F671

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

Preview Lab → · Contrast checker → · Palette generator →

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