#5F9F20#5F9F20

#5F9F20 is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 63.5% C 0.167 H 133.4°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5F9F20
RGBrgb(95, 159, 32)
HSLhsl(90, 66%, 37%)
HSVhsv(90, 80%, 62%)
CMYKcmyk(40.3%, 0%, 79.9%, 37.6%)
CIE-LABlab(59.28, -40.70, 54.86)
CIE-LCHlch(59.28, 68.31, 126.57°)
OKLaboklab(63.54% -0.1147 0.1213)
OKLCHoklch(63.54% 0.167 133.4)
XYZxyz(17.3779, 27.3326, 5.7263)
Luminance0.2733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9F20 #60209F
analogous
#9F9F20 #5F9F20 #209F20
triadic
#5F9F20 #205F9F #9F205F
tetradic
#5F9F20 #209F9F #60209F #9F2020
square
#5F9F20 #209F9F #60209F #9F2020
split-complementary
#5F9F20 #20209F #9F209F
monochromatic
#22390B #416C16 #5F9F20 #7DD22A #9CDE5B

Accessibility & contrast

On white

3.25
#5F9F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#5F9F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9F20
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9F20#FFFFFF#000000##000000
##5F9F201.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9D8D2E
Tritanopia (blue-blind)
#5F9888
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f9f20;
/* rgb */ color: rgb(95, 159, 32);
/* oklch */ color: oklch(63.5% 0.167 133.4);
Tailwind
colors: {
  custom: {
    50: '#92bc67',
    500: '#5f9f20',
    950: '#000000',
  },
}
SCSS
$custom: #5f9f20;
$custom-light: #92bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9f20",
  "rgb": {
    "r": 95,
    "g": 159,
    "b": 32
  },
  "hsl": {
    "h": 90.236,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63537,
    "c": 0.16694,
    "h": 133.4
  },
  "luminance": 0.27333
}

Semantic roles & 50–950 ramp

primary
#5F9F20
secondary
#8E59C2
accent
#3EE995
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5F9F20

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

Preview Lab → · Contrast checker → · Palette generator →

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