#A5F158#A5F158

#A5F158 is a very light, vivid yellow-green. Relative luminance 0.716; OKLCH L 87.9% C 0.198 H 131.8°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#A5F158
RGBrgb(165, 241, 88)
HSLhsl(90, 85%, 65%)
HSVhsv(90, 63%, 95%)
CMYKcmyk(31.5%, 0%, 63.5%, 5.5%)
CIE-LABlab(87.78, -47.15, 64.33)
CIE-LCHlch(87.78, 79.76, 126.24°)
OKLaboklab(87.87% -0.1323 0.1478)
OKLCHoklch(87.87% 0.198 131.8)
XYZxyz(48.7332, 71.6128, 20.4856)
Luminance0.7161 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5F158 #A458F1
analogous
#F1F058 #A5F158 #59F158
triadic
#A5F158 #58A5F1 #F158A5
tetradic
#A5F158 #58F1F0 #A458F1 #F15859
square
#A5F158 #58F1F0 #A458F1 #F15859
split-complementary
#A5F158 #5859F1 #F058F1
monochromatic
#68BF10 #87EC20 #A5F158 #C3F690 #E2FAC9

Accessibility & contrast

On white

1.37
#A5F158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.32
#A5F158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5F158
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5F158#FFFFFF#000000##000000
##A5F1581.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE045
Deuteranopia (green-blind)
#F0DA64
Tritanopia (blue-blind)
#A7E8D1
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #a5f158;
/* rgb */ color: rgb(165, 241, 88);
/* oklch */ color: oklch(87.9% 0.198 131.8);
Tailwind
colors: {
  custom: {
    50: '#c4f68d',
    500: '#a5f158',
    950: '#000000',
  },
}
SCSS
$custom: #a5f158;
$custom-light: #c4f68d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5f158",
  "rgb": {
    "r": 165,
    "g": 241,
    "b": 88
  },
  "hsl": {
    "h": 89.804,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.87868,
    "c": 0.19838,
    "h": 131.8
  },
  "luminance": 0.71615
}

Semantic roles & 50–950 ramp

primary
#A5F158
secondary
#7630BD
accent
#05E172
background
#FEFFFC
surface
#FAFEF4
border
#D3D6CE
text
#13170D
muted
#83857F

Preview Lab

Preview with #A5F158

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

Preview Lab → · Contrast checker → · Palette generator →

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