#5FAA22#5FAA22

#5FAA22 is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 66.4% C 0.179 H 134.9°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#5FAA22
RGBrgb(95, 170, 34)
HSLhsl(93, 67%, 40%)
HSVhsv(93, 80%, 67%)
CMYKcmyk(44.1%, 0%, 80%, 33.3%)
CIE-LABlab(62.76, -45.17, 57.49)
CIE-LCHlch(62.76, 73.11, 128.16°)
OKLaboklab(66.39% -0.1265 0.1272)
OKLCHoklch(66.39% 0.179 134.9)
XYZxyz(19.3824, 31.2967, 6.5326)
Luminance0.3130 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAA22 #6D22AA
analogous
#A3AA22 #5FAA22 #22AA29
triadic
#5FAA22 #225FAA #AA225F
tetradic
#5FAA22 #22A3AA #6D22AA #AA2922
square
#5FAA22 #22A3AA #6D22AA #AA2922
split-complementary
#5FAA22 #2922AA #AA22A3
monochromatic
#26440E #437718 #5FAA22 #7CD633 #9DE066

Accessibility & contrast

On white

2.89
#5FAA22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#5FAA22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAA22
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAA22#FFFFFF#000000##000000
##5FAA221.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#A79632
Tritanopia (blue-blind)
#5DA391
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5faa22;
/* rgb */ color: rgb(95, 170, 34);
/* oklch */ color: oklch(66.4% 0.179 134.9);
Tailwind
colors: {
  custom: {
    50: '#93c469',
    500: '#5faa22',
    950: '#000000',
  },
}
SCSS
$custom: #5faa22;
$custom-light: #93c469;
$custom-dark: #000000;
JSON
{
  "hex": "#5faa22",
  "rgb": {
    "r": 95,
    "g": 170,
    "b": 34
  },
  "hsl": {
    "h": 93.088,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.66389,
    "c": 0.1794,
    "h": 134.9
  },
  "luminance": 0.31298
}

Semantic roles & 50–950 ramp

primary
#5FAA22
secondary
#9962C6
accent
#3EEA9D
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FAA22

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

Preview Lab → · Contrast checker → · Palette generator →

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