#5AA81D#5AA81D

#5AA81D is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 65.6% C 0.182 H 135.4°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#5AA81D
RGBrgb(90, 168, 29)
HSLhsl(94, 71%, 39%)
HSVhsv(94, 83%, 66%)
CMYKcmyk(46.4%, 0%, 82.7%, 34.1%)
CIE-LABlab(61.88, -46.25, 58.04)
CIE-LCHlch(61.88, 74.21, 128.55°)
OKLaboklab(65.6% -0.1294 0.1277)
OKLCHoklch(65.6% 0.182 135.4)
XYZxyz(18.4404, 30.2665, 6.0325)
Luminance0.3027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA81D #6B1DA8
analogous
#9FA81D #5AA81D #1DA825
triadic
#5AA81D #1D5AA8 #A81D5A
tetradic
#5AA81D #1D9FA8 #6B1DA8 #A8251D
square
#5AA81D #1D9FA8 #6B1DA8 #A8251D
split-complementary
#5AA81D #251DA8 #A81D9F
monochromatic
#22400B #3E7414 #5AA81D #76DA28 #97E35C

Accessibility & contrast

On white

2.98
#5AA81D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#5AA81D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AA81D
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA81D#FFFFFF#000000##000000
##5AA81D1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#A4932E
Tritanopia (blue-blind)
#57A18F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5aa81d;
/* rgb */ color: rgb(90, 168, 29);
/* oklch */ color: oklch(65.6% 0.182 135.4);
Tailwind
colors: {
  custom: {
    50: '#90c267',
    500: '#5aa81d',
    950: '#000000',
  },
}
SCSS
$custom: #5aa81d;
$custom-light: #90c267;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa81d",
  "rgb": {
    "r": 90,
    "g": 168,
    "b": 29
  },
  "hsl": {
    "h": 93.669,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65604,
    "c": 0.18178,
    "h": 135.4
  },
  "luminance": 0.30268
}

Semantic roles & 50–950 ramp

primary
#5AA81D
secondary
#975AC7
accent
#3AED9F
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA81D

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

Preview Lab → · Contrast checker → · Palette generator →

#5AA81D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva