#5A9F22#5A9F22

#5A9F22 is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.3% C 0.169 H 134.7°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5A9F22
RGBrgb(90, 159, 34)
HSLhsl(93, 65%, 38%)
HSVhsv(93, 79%, 62%)
CMYKcmyk(43.4%, 0%, 78.6%, 37.6%)
CIE-LABlab(59.05, -42.33, 53.93)
CIE-LCHlch(59.05, 68.56, 128.12°)
OKLaboklab(63.29% -0.1186 0.1198)
OKLCHoklch(63.29% 0.169 134.7)
XYZxyz(16.9030, 27.0845, 5.8502)
Luminance0.2708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9F22 #67229F
analogous
#989F22 #5A9F22 #229F28
triadic
#5A9F22 #225A9F #9F225A
tetradic
#5A9F22 #22989F #67229F #9F2822
square
#5A9F22 #22989F #67229F #9F2822
split-complementary
#5A9F22 #28229F #9F2298
monochromatic
#213A0C #3D6D17 #5A9F22 #77D12D #97DD5F

Accessibility & contrast

On white

3.27
#5A9F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#5A9F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9F22
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9F22#FFFFFF#000000##000000
##5A9F221.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#9C8C30
Tritanopia (blue-blind)
#599988
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5a9f22;
/* rgb */ color: rgb(90, 159, 34);
/* oklch */ color: oklch(63.3% 0.169 134.7);
Tailwind
colors: {
  custom: {
    50: '#8fbc68',
    500: '#5a9f22',
    950: '#000000',
  },
}
SCSS
$custom: #5a9f22;
$custom-light: #8fbc68;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9f22",
  "rgb": {
    "r": 90,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 93.12,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63288,
    "c": 0.16855,
    "h": 134.7
  },
  "luminance": 0.27085
}

Semantic roles & 50–950 ramp

primary
#5A9F22
secondary
#945BC1
accent
#40E89D
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5A9F22

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

Preview Lab → · Contrast checker → · Palette generator →

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