#5F9920#5F9920

#5F9920 is a mid, vivid yellow-green. Relative luminance 0.253; OKLCH L 62.0% C 0.159 H 132.5°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5F9920
RGBrgb(95, 153, 32)
HSLhsl(89, 65%, 36%)
HSVhsv(89, 79%, 60%)
CMYKcmyk(37.9%, 0%, 79.1%, 40%)
CIE-LABlab(57.38, -38.12, 53.09)
CIE-LCHlch(57.38, 65.35, 125.68°)
OKLaboklab(61.99% -0.1077 0.1176)
OKLCHoklch(61.99% 0.159 132.5)
XYZxyz(16.3711, 25.3189, 5.3907)
Luminance0.2532 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9920 #5A2099
analogous
#999720 #5F9920 #239920
triadic
#5F9920 #205F99 #99205F
tetradic
#5F9920 #209997 #5A2099 #992023
square
#5F9920 #209997 #5A2099 #992023
split-complementary
#5F9920 #202399 #972099
monochromatic
#20340B #406615 #5F9920 #7ECC2B #9CDC57

Accessibility & contrast

On white

3.46
#5F9920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#5F9920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9920
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9920#FFFFFF#000000##000000
##5F99201.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#98882D
Tritanopia (blue-blind)
#609383
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5f9920;
/* rgb */ color: rgb(95, 153, 32);
/* oklch */ color: oklch(62.0% 0.159 132.5);
Tailwind
colors: {
  custom: {
    50: '#92b766',
    500: '#5f9920',
    950: '#000000',
  },
}
SCSS
$custom: #5f9920;
$custom-light: #92b766;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9920",
  "rgb": {
    "r": 95,
    "g": 153,
    "b": 32
  },
  "hsl": {
    "h": 88.76,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61985,
    "c": 0.15947,
    "h": 132.5
  },
  "luminance": 0.2532
}

Semantic roles & 50–950 ramp

primary
#5F9920
secondary
#8855C0
accent
#3FE890
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9920

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

Preview Lab → · Contrast checker → · Palette generator →

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