#A5F874#A5F874

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

Color values

HEX#A5F874
RGBrgb(165, 248, 116)
HSLhsl(98, 90%, 71%)
HSVhsv(98, 53%, 97%)
CMYKcmyk(33.5%, 0%, 53.2%, 2.7%)
CIE-LABlab(90.04, -47.52, 54.88)
CIE-LCHlch(90.04, 72.59, 130.89°)
OKLaboklab(89.79% -0.1313 0.1302)
OKLCHoklch(89.79% 0.185 135.2)
XYZxyz(52.2356, 76.3929, 28.5127)
Luminance0.7640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5F874 #C774F8
analogous
#E7F874 #A5F874 #74F885
triadic
#A5F874 #74A5F8 #F874A5
tetradic
#A5F874 #74E7F8 #C774F8 #F88574
square
#A5F874 #74E7F8 #C774F8 #F88574
split-complementary
#A5F874 #8574F8 #F874E7
monochromatic
#5DE60C #7FF53A #A5F874 #CBFBAE #ECFEE2

Accessibility & contrast

On white

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

On black

16.28
#A5F874 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5F874
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5F874#FFFFFF#000000##000000
##A5F8741.001.2916.2816.28
#FFFFFF1.291.0021.0021.00
#00000016.2821.001.001.00
##00000016.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5f874;
/* rgb */ color: rgb(165, 248, 116);
/* oklch */ color: oklch(89.8% 0.185 135.2);
Tailwind
colors: {
  custom: {
    50: '#c3fb9f',
    500: '#a5f874',
    950: '#000000',
  },
}
SCSS
$custom: #a5f874;
$custom-light: #c3fb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5f874",
  "rgb": {
    "r": 165,
    "g": 248,
    "b": 116
  },
  "hsl": {
    "h": 97.727,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.89791,
    "c": 0.18495,
    "h": 135.2
  },
  "luminance": 0.76395
}

Semantic roles & 50–950 ramp

primary
#A5F874
secondary
#9B3DD3
accent
#00E690
background
#FDFFFC
surface
#F9FFF5
border
#D2D7CF
text
#13170F
muted
#828580

Preview Lab

Preview with #A5F874

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

Preview Lab → · Contrast checker → · Palette generator →

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