#A5D45B#A5D45B

#A5D45B is a light, vivid yellow-green. Relative luminance 0.558; OKLCH L 81.2% C 0.158 H 127.4°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#A5D45B
RGBrgb(165, 212, 91)
HSLhsl(83, 58%, 59%)
HSVhsv(83, 57%, 83%)
CMYKcmyk(22.2%, 0%, 57.1%, 16.9%)
CIE-LABlab(79.52, -34.10, 53.89)
CIE-LCHlch(79.52, 63.77, 122.33°)
OKLaboklab(81.18% -0.0962 0.1259)
OKLCHoklch(81.18% 0.158 127.4)
XYZxyz(40.9488, 55.8410, 18.5165)
Luminance0.5584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D45B #8A5BD4
analogous
#D4C75B #A5D45B #69D45B
triadic
#A5D45B #5BA5D4 #D45BA5
tetradic
#A5D45B #5BD4C7 #8A5BD4 #D45B69
square
#A5D45B #5BD4C7 #8A5BD4 #D45B69
split-complementary
#A5D45B #5B69D4 #C75BD4
monochromatic
#668F26 #89C032 #A5D45B #C0E18B #DAEDBC

Accessibility & contrast

On white

1.73
#A5D45B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#A5D45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D45B
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D45B#FFFFFF#000000##000000
##A5D45B1.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74E
Deuteranopia (green-blind)
#D7C463
Tritanopia (blue-blind)
#AACBBA
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #a5d45b;
/* rgb */ color: rgb(165, 212, 91);
/* oklch */ color: oklch(81.2% 0.158 127.4);
Tailwind
colors: {
  custom: {
    50: '#c2e18d',
    500: '#a5d45b',
    950: '#000000',
  },
}
SCSS
$custom: #a5d45b;
$custom-light: #c2e18d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d45b",
  "rgb": {
    "r": 165,
    "g": 212,
    "b": 91
  },
  "hsl": {
    "h": 83.306,
    "s": 58.454,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81177,
    "c": 0.15842,
    "h": 127.4
  },
  "luminance": 0.55842
}

Semantic roles & 50–950 ramp

primary
#A5D45B
secondary
#603E95
accent
#46E283
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A5D45B

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

Preview Lab → · Contrast checker → · Palette generator →

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