#A5E158#A5E158

#A5E158 is a very light, vivid yellow-green. Relative luminance 0.626; OKLCH L 84.2% C 0.178 H 129.6°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#A5E158
RGBrgb(165, 225, 88)
HSLhsl(86, 70%, 61%)
HSVhsv(86, 61%, 88%)
CMYKcmyk(26.7%, 0%, 60.9%, 11.8%)
CIE-LABlab(83.21, -40.23, 59.33)
CIE-LCHlch(83.21, 71.69, 124.14°)
OKLaboklab(84.15% -0.1133 0.1372)
OKLCHoklch(84.15% 0.178 129.6)
XYZxyz(44.2034, 62.5532, 18.9757)
Luminance0.6255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5E158 #9458E1
analogous
#E1D858 #A5E158 #61E158
triadic
#A5E158 #58A5E1 #E158A5
tetradic
#A5E158 #58E1D8 #9458E1 #E15861
square
#A5E158 #58E1D8 #9458E1 #E15861
split-complementary
#A5E158 #5861E1 #D858E1
monochromatic
#68A21D #89D526 #A5E158 #C1EA8C #DDF4C0

Accessibility & contrast

On white

1.55
#A5E158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#A5E158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5E158
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5E158#FFFFFF#000000##000000
##A5E1581.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD248
Deuteranopia (green-blind)
#E2CE62
Tritanopia (blue-blind)
#A9D8C4
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #a5e158;
/* rgb */ color: rgb(165, 225, 88);
/* oklch */ color: oklch(84.2% 0.178 129.6);
Tailwind
colors: {
  custom: {
    50: '#c3ea8c',
    500: '#a5e158',
    950: '#000000',
  },
}
SCSS
$custom: #a5e158;
$custom-light: #c3ea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5e158",
  "rgb": {
    "r": 165,
    "g": 225,
    "b": 88
  },
  "hsl": {
    "h": 86.277,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84151,
    "c": 0.17796,
    "h": 129.6
  },
  "luminance": 0.62554
}

Semantic roles & 50–950 ramp

primary
#A5E158
secondary
#6839A4
accent
#14D267
background
#FDFEFC
surface
#F9FDF4
border
#D2D5CE
text
#13160C
muted
#82847F

Preview Lab

Preview with #A5E158

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

Preview Lab → · Contrast checker → · Palette generator →

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