#A5F873#A5F873

#A5F873 is a very light, vivid yellow-green. Relative luminance 0.764; OKLCH L 89.8% C 0.186 H 135.1°. Best body text is #000000 at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#A5F873
RGBrgb(165, 248, 115)
HSLhsl(97, 90%, 71%)
HSVhsv(97, 54%, 97%)
CMYKcmyk(33.5%, 0%, 53.6%, 2.7%)
CIE-LABlab(90.03, -47.62, 55.31)
CIE-LCHlch(90.03, 72.99, 130.73°)
OKLaboklab(89.78% -0.1317 0.1311)
OKLCHoklch(89.78% 0.186 135.1)
XYZxyz(52.1778, 76.3698, 28.2080)
Luminance0.7637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5F873 #C673F8
analogous
#E7F873 #A5F873 #73F883
triadic
#A5F873 #73A5F8 #F873A5
tetradic
#A5F873 #73E7F8 #C673F8 #F88373
square
#A5F873 #73E7F8 #C673F8 #F88373
split-complementary
#A5F873 #8373F8 #F873E7
monochromatic
#5DE50B #80F539 #A5F873 #CAFBAD #ECFEE2

Accessibility & contrast

On white

1.29
#A5F873 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.27
#A5F873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5F873
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5F873#FFFFFF#000000##000000
##A5F8731.001.2916.2716.27
#FFFFFF1.291.0021.0021.00
#00000016.2721.001.001.00
##00000016.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE766
Deuteranopia (green-blind)
#F4E07C
Tritanopia (blue-blind)
#A4F0DA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #a5f873;
/* rgb */ color: rgb(165, 248, 115);
/* oklch */ color: oklch(89.8% 0.186 135.1);
Tailwind
colors: {
  custom: {
    50: '#c3fb9e',
    500: '#a5f873',
    950: '#000000',
  },
}
SCSS
$custom: #a5f873;
$custom-light: #c3fb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5f873",
  "rgb": {
    "r": 165,
    "g": 248,
    "b": 115
  },
  "hsl": {
    "h": 97.444,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.89779,
    "c": 0.18581,
    "h": 135.1
  },
  "luminance": 0.76372
}

Semantic roles & 50–950 ramp

primary
#A5F873
secondary
#9A3CD3
accent
#00E68F
background
#FDFFFC
surface
#F9FFF5
border
#D2D7CF
text
#13170F
muted
#828580

Preview Lab

Preview with #A5F873

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

Preview Lab → · Contrast checker → · Palette generator →

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