#5AA020#5AA020

#5AA020 is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 63.5% C 0.171 H 134.7°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5AA020
RGBrgb(90, 160, 32)
HSLhsl(93, 67%, 38%)
HSVhsv(93, 80%, 63%)
CMYKcmyk(43.7%, 0%, 80%, 37.3%)
CIE-LABlab(59.36, -42.85, 54.85)
CIE-LCHlch(59.36, 69.60, 128.00°)
OKLaboklab(63.54% -0.1201 0.1214)
OKLCHoklch(63.54% 0.171 134.7)
XYZxyz(17.0476, 27.4186, 5.7603)
Luminance0.2742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA020 #6620A0
analogous
#9AA020 #5AA020 #20A026
triadic
#5AA020 #205AA0 #A0205A
tetradic
#5AA020 #209AA0 #6620A0 #A02620
square
#5AA020 #209AA0 #6620A0 #A02620
split-complementary
#5AA020 #2620A0 #A0209A
monochromatic
#213A0C #3D6D16 #5AA020 #77D32A #97DE5C

Accessibility & contrast

On white

3.24
#5AA020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#5AA020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA020
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA020#FFFFFF#000000##000000
##5AA0201.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9D8D2F
Tritanopia (blue-blind)
#599A88
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5aa020;
/* rgb */ color: rgb(90, 160, 32);
/* oklch */ color: oklch(63.5% 0.171 134.7);
Tailwind
colors: {
  custom: {
    50: '#8fbc67',
    500: '#5aa020',
    950: '#000000',
  },
}
SCSS
$custom: #5aa020;
$custom-light: #8fbc67;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa020",
  "rgb": {
    "r": 90,
    "g": 160,
    "b": 32
  },
  "hsl": {
    "h": 92.813,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63537,
    "c": 0.17079,
    "h": 134.7
  },
  "luminance": 0.2742
}

Semantic roles & 50–950 ramp

primary
#5AA020
secondary
#9359C3
accent
#3EEA9C
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5AA020

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

Preview Lab → · Contrast checker → · Palette generator →

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