#A5D958#A5D958

#A5D958 is a very light, vivid yellow-green. Relative luminance 0.583; OKLCH L 82.3% C 0.168 H 128.1°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#A5D958
RGBrgb(165, 217, 88)
HSLhsl(84, 63%, 60%)
HSVhsv(84, 59%, 85%)
CMYKcmyk(24%, 0%, 59.4%, 14.9%)
CIE-LABlab(80.92, -36.65, 56.79)
CIE-LCHlch(80.92, 67.59, 122.84°)
OKLaboklab(82.3% -0.1035 0.1318)
OKLCHoklch(82.3% 0.168 128.1)
XYZxyz(42.0912, 58.3288, 18.2716)
Luminance0.5833 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D958 #8C58D9
analogous
#D9CD58 #A5D958 #65D958
triadic
#A5D958 #58A5D9 #D958A5
tetradic
#A5D958 #58D9CD #8C58D9 #D95865
square
#A5D958 #58D9CD #8C58D9 #D95865
split-complementary
#A5D958 #5865D9 #CD58D9
monochromatic
#669522 #89C72D #A5D958 #C0E48A #DBF0BC

Accessibility & contrast

On white

1.66
#A5D958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#A5D958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D958
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D958#FFFFFF#000000##000000
##A5D9581.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB4A
Deuteranopia (green-blind)
#DCC861
Tritanopia (blue-blind)
#AAD0BD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #a5d958;
/* rgb */ color: rgb(165, 217, 88);
/* oklch */ color: oklch(82.3% 0.168 128.1);
Tailwind
colors: {
  custom: {
    50: '#c3e58c',
    500: '#a5d958',
    950: '#000000',
  },
}
SCSS
$custom: #a5d958;
$custom-light: #c3e58c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d958",
  "rgb": {
    "r": 165,
    "g": 217,
    "b": 88
  },
  "hsl": {
    "h": 84.186,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.82299,
    "c": 0.16755,
    "h": 128.1
  },
  "luminance": 0.5833
}

Semantic roles & 50–950 ramp

primary
#A5D958
secondary
#623C9A
accent
#42E684
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A5D958

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

Preview Lab → · Contrast checker → · Palette generator →

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