#5FA020#5FA020

#5FA020 is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 63.8% C 0.168 H 133.5°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5FA020
RGBrgb(95, 160, 32)
HSLhsl(90, 67%, 38%)
HSVhsv(90, 80%, 63%)
CMYKcmyk(40.6%, 0%, 80%, 37.3%)
CIE-LABlab(59.60, -41.13, 55.16)
CIE-LCHlch(59.60, 68.80, 126.71°)
OKLaboklab(63.8% -0.1158 0.122)
OKLCHoklch(63.8% 0.168 133.5)
XYZxyz(17.5505, 27.6779, 5.7838)
Luminance0.2768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA020 #6120A0
analogous
#9FA020 #5FA020 #20A021
triadic
#5FA020 #205FA0 #A0205F
tetradic
#5FA020 #209FA0 #6120A0 #A02120
square
#5FA020 #209FA0 #6120A0 #A02120
split-complementary
#5FA020 #2120A0 #A0209F
monochromatic
#223A0C #416D16 #5FA020 #7DD32A #9CDE5C

Accessibility & contrast

On white

3.21
#5FA020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#5FA020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA020
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA020#FFFFFF#000000##000000
##5FA0201.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9E8E2E
Tritanopia (blue-blind)
#5F9988
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5fa020;
/* rgb */ color: rgb(95, 160, 32);
/* oklch */ color: oklch(63.8% 0.168 133.5);
Tailwind
colors: {
  custom: {
    50: '#92bc67',
    500: '#5fa020',
    950: '#000000',
  },
}
SCSS
$custom: #5fa020;
$custom-light: #92bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa020",
  "rgb": {
    "r": 95,
    "g": 160,
    "b": 32
  },
  "hsl": {
    "h": 90.469,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63795,
    "c": 0.16817,
    "h": 133.5
  },
  "luminance": 0.27679
}

Semantic roles & 50–950 ramp

primary
#5FA020
secondary
#8F59C3
accent
#3EEA95
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1206
muted
#7E817A

Preview Lab

Preview with #5FA020

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

Preview Lab → · Contrast checker → · Palette generator →

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