#5A9920#5A9920

#5A9920 is a mid, vivid yellow-green. Relative luminance 0.251; OKLCH L 61.7% C 0.162 H 133.8°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5A9920
RGBrgb(90, 153, 32)
HSLhsl(91, 65%, 36%)
HSVhsv(91, 79%, 60%)
CMYKcmyk(41.2%, 0%, 79.1%, 40%)
CIE-LABlab(57.13, -39.91, 52.76)
CIE-LCHlch(57.13, 66.16, 127.11°)
OKLaboklab(61.71% -0.1122 0.117)
OKLCHoklch(61.71% 0.162 133.8)
XYZxyz(15.8681, 25.0596, 5.3671)
Luminance0.2506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9920 #5F2099
analogous
#979920 #5A9920 #209923
triadic
#5A9920 #205A99 #99205A
tetradic
#5A9920 #209799 #5F2099 #992320
square
#5A9920 #209799 #5F2099 #992320
split-complementary
#5A9920 #232099 #992097
monochromatic
#1E340B #3C6615 #5A9920 #78CC2B #97DC57

Accessibility & contrast

On white

3.49
#5A9920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#5A9920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9920
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9920#FFFFFF#000000##000000
##5A99201.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#97872D
Tritanopia (blue-blind)
#5A9383
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a9920;
/* rgb */ color: rgb(90, 153, 32);
/* oklch */ color: oklch(61.7% 0.162 133.8);
Tailwind
colors: {
  custom: {
    50: '#8eb766',
    500: '#5a9920',
    950: '#000000',
  },
}
SCSS
$custom: #5a9920;
$custom-light: #8eb766;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9920",
  "rgb": {
    "r": 90,
    "g": 153,
    "b": 32
  },
  "hsl": {
    "h": 91.24,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61712,
    "c": 0.16213,
    "h": 133.8
  },
  "luminance": 0.2506
}

Semantic roles & 50–950 ramp

primary
#5A9920
secondary
#8D55C0
accent
#3FE897
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A9920

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

Preview Lab → · Contrast checker → · Palette generator →

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