#5A9922#5A9922

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

Color values

HEX#5A9922
RGBrgb(90, 153, 34)
HSLhsl(92, 64%, 37%)
HSVhsv(92, 78%, 60%)
CMYKcmyk(41.2%, 0%, 77.8%, 40%)
CIE-LABlab(57.14, -39.80, 52.11)
CIE-LCHlch(57.14, 65.57, 127.37°)
OKLaboklab(61.72% -0.1118 0.116)
OKLCHoklch(61.72% 0.161 133.9)
XYZxyz(15.8961, 25.0708, 5.5146)
Luminance0.2507 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9922 #612299
analogous
#969922 #5A9922 #229926
triadic
#5A9922 #225A99 #99225A
tetradic
#5A9922 #229699 #612299 #992622
square
#5A9922 #229699 #612299 #992622
split-complementary
#5A9922 #262299 #992296
monochromatic
#1F350C #3D6717 #5A9922 #77CB2D #97DB5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A9922#FFFFFF#000000##000000
##5A99221.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)
#9F8C04
Deuteranopia (green-blind)
#97872F
Tritanopia (blue-blind)
#599383
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a9922;
/* rgb */ color: rgb(90, 153, 34);
/* oklch */ color: oklch(61.7% 0.161 133.9);
Tailwind
colors: {
  custom: {
    50: '#8eb767',
    500: '#5a9922',
    950: '#000000',
  },
}
SCSS
$custom: #5a9922;
$custom-light: #8eb767;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9922",
  "rgb": {
    "r": 90,
    "g": 153,
    "b": 34
  },
  "hsl": {
    "h": 91.765,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61724,
    "c": 0.16107,
    "h": 133.9
  },
  "luminance": 0.25072
}

Semantic roles & 50–950 ramp

primary
#5A9922
secondary
#8E58BF
accent
#41E799
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A9922

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

Preview Lab → · Contrast checker → · Palette generator →

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