#5A9C22#5A9C22

#5A9C22 is a light, vivid yellow-green. Relative luminance 0.261; OKLCH L 62.5% C 0.165 H 134.3°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5A9C22
RGBrgb(90, 156, 34)
HSLhsl(92, 64%, 37%)
HSVhsv(92, 78%, 61%)
CMYKcmyk(42.3%, 0%, 78.2%, 38.8%)
CIE-LABlab(58.10, -41.07, 53.03)
CIE-LCHlch(58.10, 67.07, 127.76°)
OKLaboklab(62.51% -0.1152 0.1179)
OKLCHoklch(62.51% 0.165 134.3)
XYZxyz(16.3933, 26.0652, 5.6804)
Luminance0.2607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9C22 #64229C
analogous
#979C22 #5A9C22 #229C27
triadic
#5A9C22 #225A9C #9C225A
tetradic
#5A9C22 #22979C #64229C #9C2722
square
#5A9C22 #22979C #64229C #9C2722
split-complementary
#5A9C22 #27229C #9C2297
monochromatic
#20380C #3D6A17 #5A9C22 #77CE2D #97DC5D

Accessibility & contrast

On white

3.38
#5A9C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#5A9C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9C22
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9C22#FFFFFF#000000##000000
##5A9C221.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F01
Deuteranopia (green-blind)
#998A2F
Tritanopia (blue-blind)
#599685
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5a9c22;
/* rgb */ color: rgb(90, 156, 34);
/* oklch */ color: oklch(62.5% 0.165 134.3);
Tailwind
colors: {
  custom: {
    50: '#8fba67',
    500: '#5a9c22',
    950: '#000000',
  },
}
SCSS
$custom: #5a9c22;
$custom-light: #8fba67;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9c22",
  "rgb": {
    "r": 90,
    "g": 156,
    "b": 34
  },
  "hsl": {
    "h": 92.459,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62506,
    "c": 0.16483,
    "h": 134.3
  },
  "luminance": 0.26066
}

Semantic roles & 50–950 ramp

primary
#5A9C22
secondary
#915AC0
accent
#41E79B
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A9C22

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

Preview Lab → · Contrast checker → · Palette generator →

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