#5F8920#5F8920

#5F8920 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.9% C 0.139 H 129.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5F8920
RGBrgb(95, 137, 32)
HSLhsl(84, 62%, 33%)
HSVhsv(84, 77%, 54%)
CMYKcmyk(30.7%, 0%, 76.6%, 46.3%)
CIE-LABlab(52.32, -30.88, 48.26)
CIE-LCHlch(52.32, 57.29, 122.62°)
OKLaboklab(57.85% -0.0881 0.1075)
OKLCHoklch(57.85% 0.139 129.3)
XYZxyz(13.9256, 20.4281, 4.5755)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8920 #4A2089
analogous
#897E20 #5F8920 #2A8920
triadic
#5F8920 #205F89 #89205F
tetradic
#5F8920 #20897E #4A2089 #89202A
square
#5F8920 #20897E #4A2089 #89202A
split-complementary
#5F8920 #202A89 #7E2089
monochromatic
#1A2609 #3D5714 #5F8920 #81BB2C #9FD64E

Accessibility & contrast

On white

4.13
#5F8920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#5F8920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8920
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8920#FFFFFF#000000##000000
##5F89201.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F09
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#628375
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f8920;
/* rgb */ color: rgb(95, 137, 32);
/* oklch */ color: oklch(57.9% 0.139 129.3);
Tailwind
colors: {
  custom: {
    50: '#90ab64',
    500: '#5f8920',
    950: '#000000',
  },
}
SCSS
$custom: #5f8920;
$custom-light: #90ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8920",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 32
  },
  "hsl": {
    "h": 84,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57852,
    "c": 0.13897,
    "h": 129.3
  },
  "luminance": 0.20429
}

Semantic roles & 50–950 ramp

primary
#5F8920
secondary
#784CB9
accent
#43E584
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F8920

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

Preview Lab → · Contrast checker → · Palette generator →

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