#5A9622#5A9622

#5A9622 is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 60.9% C 0.157 H 133.5°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5A9622
RGBrgb(90, 150, 34)
HSLhsl(91, 63%, 36%)
HSVhsv(91, 77%, 59%)
CMYKcmyk(40%, 0%, 77.3%, 41.2%)
CIE-LABlab(56.19, -38.51, 51.20)
CIE-LCHlch(56.19, 64.06, 126.95°)
OKLaboklab(60.94% -0.1083 0.1141)
OKLCHoklch(60.94% 0.157 133.5)
XYZxyz(15.4113, 24.1011, 5.3530)
Luminance0.2410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9622 #5E2296
analogous
#949622 #5A9622 #229624
triadic
#5A9622 #225A96 #96225A
tetradic
#5A9622 #229496 #5E2296 #962422
square
#5A9622 #229496 #5E2296 #962422
split-complementary
#5A9622 #242296 #962294
monochromatic
#1E320B #3C6417 #5A9622 #78C82D #97D959

Accessibility & contrast

On white

3.61
#5A9622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#5A9622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9622
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9622#FFFFFF#000000##000000
##5A96221.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A06
Deuteranopia (green-blind)
#94852E
Tritanopia (blue-blind)
#5A9080
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5a9622;
/* rgb */ color: rgb(90, 150, 34);
/* oklch */ color: oklch(60.9% 0.157 133.5);
Tailwind
colors: {
  custom: {
    50: '#8eb566',
    500: '#5a9622',
    950: '#000000',
  },
}
SCSS
$custom: #5a9622;
$custom-light: #8eb566;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9622",
  "rgb": {
    "r": 90,
    "g": 150,
    "b": 34
  },
  "hsl": {
    "h": 91.034,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60942,
    "c": 0.15728,
    "h": 133.5
  },
  "luminance": 0.24102
}

Semantic roles & 50–950 ramp

primary
#5A9622
secondary
#8C56BE
accent
#42E697
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A9622

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

Preview Lab → · Contrast checker → · Palette generator →

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