#A5D158#A5D158

#A5D158 is a light, vivid yellow-green. Relative luminance 0.543; OKLCH L 80.5% C 0.157 H 126.5°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#A5D158
RGBrgb(165, 209, 88)
HSLhsl(82, 57%, 58%)
HSVhsv(82, 58%, 82%)
CMYKcmyk(21.1%, 0%, 57.9%, 18%)
CIE-LABlab(78.64, -32.99, 54.22)
CIE-LCHlch(78.64, 63.47, 121.31°)
OKLaboklab(80.45% -0.0933 0.1263)
OKLCHoklch(80.45% 0.157 126.5)
XYZxyz(40.0790, 54.3043, 17.6009)
Luminance0.5431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D158 #8458D1
analogous
#D1C058 #A5D158 #68D158
triadic
#A5D158 #58A5D1 #D158A5
tetradic
#A5D158 #58D1C0 #8458D1 #D15868
square
#A5D158 #58D1C0 #8458D1 #D15868
split-complementary
#A5D158 #5868D1 #C058D1
monochromatic
#658926 #88B933 #A5D158 #BFDE88 #D9EBB8

Accessibility & contrast

On white

1.77
#A5D158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#A5D158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D158
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D158#FFFFFF#000000##000000
##A5D1581.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44B
Deuteranopia (green-blind)
#D5C260
Tritanopia (blue-blind)
#ABC8B7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a5d158;
/* rgb */ color: rgb(165, 209, 88);
/* oklch */ color: oklch(80.5% 0.157 126.5);
Tailwind
colors: {
  custom: {
    50: '#c2df8b',
    500: '#a5d158',
    950: '#000000',
  },
}
SCSS
$custom: #a5d158;
$custom-light: #c2df8b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d158",
  "rgb": {
    "r": 165,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 81.818,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80453,
    "c": 0.15703,
    "h": 126.5
  },
  "luminance": 0.54305
}

Semantic roles & 50–950 ramp

primary
#A5D158
secondary
#5B3E8F
accent
#48E07F
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A5D158

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

Preview Lab → · Contrast checker → · Palette generator →

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