#5FAA20#5FAA20

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

Color values

HEX#5FAA20
RGBrgb(95, 170, 32)
HSLhsl(93, 68%, 40%)
HSVhsv(93, 81%, 67%)
CMYKcmyk(44.1%, 0%, 81.2%, 33.3%)
CIE-LABlab(62.75, -45.27, 58.07)
CIE-LCHlch(62.75, 73.63, 127.94°)
OKLaboklab(66.38% -0.1269 0.1281)
OKLCHoklch(66.38% 0.18 134.7)
XYZxyz(19.3543, 31.2855, 6.3851)
Luminance0.3129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAA20 #6B20AA
analogous
#A4AA20 #5FAA20 #20AA26
triadic
#5FAA20 #205FAA #AA205F
tetradic
#5FAA20 #20A4AA #6B20AA #AA2620
square
#5FAA20 #20A4AA #6B20AA #AA2620
split-complementary
#5FAA20 #2620AA #AA20A4
monochromatic
#25430D #427616 #5FAA20 #7CD82F #9DE263

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FAA20#FFFFFF#000000##000000
##5FAA201.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)
#A79630
Tritanopia (blue-blind)
#5DA391
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5faa20;
/* rgb */ color: rgb(95, 170, 32);
/* oklch */ color: oklch(66.4% 0.180 134.7);
Tailwind
colors: {
  custom: {
    50: '#93c468',
    500: '#5faa20',
    950: '#000000',
  },
}
SCSS
$custom: #5faa20;
$custom-light: #93c468;
$custom-dark: #000000;
JSON
{
  "hex": "#5faa20",
  "rgb": {
    "r": 95,
    "g": 170,
    "b": 32
  },
  "hsl": {
    "h": 92.609,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66378,
    "c": 0.18032,
    "h": 134.7
  },
  "luminance": 0.31287
}

Semantic roles & 50–950 ramp

primary
#5FAA20
secondary
#975FC7
accent
#3DEB9B
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FAA20

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

Preview Lab → · Contrast checker → · Palette generator →

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