#5AA022#5AA022

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

Color values

HEX#5AA022
RGBrgb(90, 160, 34)
HSLhsl(93, 65%, 38%)
HSVhsv(93, 79%, 63%)
CMYKcmyk(43.7%, 0%, 78.8%, 37.3%)
CIE-LABlab(59.37, -42.74, 54.23)
CIE-LCHlch(59.37, 69.05, 128.24°)
OKLaboklab(63.55% -0.1197 0.1204)
OKLCHoklch(63.55% 0.17 134.8)
XYZxyz(17.0756, 27.4298, 5.9078)
Luminance0.2743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA022 #6822A0
analogous
#99A022 #5AA022 #22A029
triadic
#5AA022 #225AA0 #A0225A
tetradic
#5AA022 #2299A0 #6822A0 #A02922
square
#5AA022 #2299A0 #6822A0 #A02922
split-complementary
#5AA022 #2922A0 #A02299
monochromatic
#213B0D #3E6E17 #5AA022 #76D22D #97DD5F

Accessibility & contrast

On white

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

On black

6.49
#5AA022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA022
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA022#FFFFFF#000000##000000
##5AA0221.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69300
Deuteranopia (green-blind)
#9D8D30
Tritanopia (blue-blind)
#589A89
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5aa022;
/* rgb */ color: rgb(90, 160, 34);
/* oklch */ color: oklch(63.5% 0.170 134.8);
Tailwind
colors: {
  custom: {
    50: '#8fbc68',
    500: '#5aa022',
    950: '#000000',
  },
}
SCSS
$custom: #5aa022;
$custom-light: #8fbc68;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa022",
  "rgb": {
    "r": 90,
    "g": 160,
    "b": 34
  },
  "hsl": {
    "h": 93.333,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63548,
    "c": 0.16979,
    "h": 134.8
  },
  "luminance": 0.27431
}

Semantic roles & 50–950 ramp

primary
#5AA022
secondary
#955CC2
accent
#40E89D
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA022

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

Preview Lab → · Contrast checker → · Palette generator →

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