#5FAC20#5FAC20

#5FAC20 is a light, vivid yellow-green. Relative luminance 0.320; OKLCH L 66.9% C 0.183 H 135.0°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#5FAC20
RGBrgb(95, 172, 32)
HSLhsl(93, 69%, 40%)
HSVhsv(93, 81%, 67%)
CMYKcmyk(44.8%, 0%, 81.4%, 32.5%)
CIE-LABlab(63.38, -46.08, 58.65)
CIE-LCHlch(63.38, 74.58, 128.16°)
OKLaboklab(66.9% -0.1291 0.1293)
OKLCHoklch(66.9% 0.183 135)
XYZxyz(19.7321, 32.0411, 6.5110)
Luminance0.3204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAC20 #6D20AC
analogous
#A5AC20 #5FAC20 #20AC27
triadic
#5FAC20 #205FAC #AC205F
tetradic
#5FAC20 #20A5AC #6D20AC #AC2720
square
#5FAC20 #20A5AC #6D20AC #AC2720
split-complementary
#5FAC20 #2720AC #AC20A5
monochromatic
#26450D #437816 #5FAC20 #7CD931 #9DE264

Accessibility & contrast

On white

2.83
#5FAC20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#5FAC20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAC20
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAC20#FFFFFF#000000##000000
##5FAC201.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39D00
Deuteranopia (green-blind)
#A89731
Tritanopia (blue-blind)
#5DA593
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5fac20;
/* rgb */ color: rgb(95, 172, 32);
/* oklch */ color: oklch(66.9% 0.183 135.0);
Tailwind
colors: {
  custom: {
    50: '#94c569',
    500: '#5fac20',
    950: '#000000',
  },
}
SCSS
$custom: #5fac20;
$custom-light: #94c569;
$custom-dark: #000000;
JSON
{
  "hex": "#5fac20",
  "rgb": {
    "r": 95,
    "g": 172,
    "b": 32
  },
  "hsl": {
    "h": 93,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.66895,
    "c": 0.18272,
    "h": 135
  },
  "luminance": 0.32042
}

Semantic roles & 50–950 ramp

primary
#5FAC20
secondary
#9960C7
accent
#3CEB9D
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FAC20

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

Preview Lab → · Contrast checker → · Palette generator →

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