#5AA120#5AA120

#5AA120 is a light, vivid yellow-green. Relative luminance 0.278; OKLCH L 63.8% C 0.172 H 134.8°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#5AA120
RGBrgb(90, 161, 32)
HSLhsl(93, 67%, 38%)
HSVhsv(93, 80%, 63%)
CMYKcmyk(44.1%, 0%, 80.1%, 36.9%)
CIE-LABlab(59.68, -43.26, 55.15)
CIE-LCHlch(59.68, 70.09, 128.11°)
OKLaboklab(63.8% -0.1212 0.122)
OKLCHoklch(63.8% 0.172 134.8)
XYZxyz(17.2217, 27.7667, 5.8183)
Luminance0.2777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA120 #6720A1
analogous
#9AA120 #5AA120 #20A126
triadic
#5AA120 #205AA1 #A1205A
tetradic
#5AA120 #209AA1 #6720A1 #A12620
square
#5AA120 #209AA1 #6720A1 #A12620
split-complementary
#5AA120 #2620A1 #A1209A
monochromatic
#213B0C #3D6E16 #5AA120 #77D42A #97DF5D

Accessibility & contrast

On white

3.20
#5AA120 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#5AA120 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA120
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA120#FFFFFF#000000##000000
##5AA1201.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9E8E2F
Tritanopia (blue-blind)
#589B89
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5aa120;
/* rgb */ color: rgb(90, 161, 32);
/* oklch */ color: oklch(63.8% 0.172 134.8);
Tailwind
colors: {
  custom: {
    50: '#8fbd67',
    500: '#5aa120',
    950: '#000000',
  },
}
SCSS
$custom: #5aa120;
$custom-light: #8fbd67;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa120",
  "rgb": {
    "r": 90,
    "g": 161,
    "b": 32
  },
  "hsl": {
    "h": 93.023,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63797,
    "c": 0.17201,
    "h": 134.8
  },
  "luminance": 0.27768
}

Semantic roles & 50–950 ramp

primary
#5AA120
secondary
#945AC3
accent
#3EEA9D
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA120

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

Preview Lab → · Contrast checker → · Palette generator →

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