#5F8820#5F8820

#5F8820 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.6% C 0.138 H 129.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5F8820
RGBrgb(95, 136, 32)
HSLhsl(84, 62%, 33%)
HSVhsv(84, 76%, 53%)
CMYKcmyk(30.1%, 0%, 76.5%, 46.7%)
CIE-LABlab(52.00, -30.41, 47.95)
CIE-LCHlch(52.00, 56.78, 122.39°)
OKLaboklab(57.59% -0.0868 0.1068)
OKLCHoklch(57.59% 0.138 129.1)
XYZxyz(13.7842, 20.1451, 4.5284)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8820 #492088
analogous
#887D20 #5F8820 #2B8820
triadic
#5F8820 #205F88 #88205F
tetradic
#5F8820 #20887D #492088 #88202B
square
#5F8820 #20887D #492088 #88202B
split-complementary
#5F8820 #202B88 #7D2088
monochromatic
#1A2509 #3C5614 #5F8820 #82BA2C #A0D54D

Accessibility & contrast

On white

4.18
#5F8820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5F8820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8820
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8820#FFFFFF#000000##000000
##5F88201.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0A
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#628274
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5f8820;
/* rgb */ color: rgb(95, 136, 32);
/* oklch */ color: oklch(57.6% 0.138 129.1);
Tailwind
colors: {
  custom: {
    50: '#90ab64',
    500: '#5f8820',
    950: '#000000',
  },
}
SCSS
$custom: #5f8820;
$custom-light: #90ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8820",
  "rgb": {
    "r": 95,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 83.654,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57594,
    "c": 0.13767,
    "h": 129.1
  },
  "luminance": 0.20145
}

Semantic roles & 50–950 ramp

primary
#5F8820
secondary
#764CB8
accent
#43E583
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F8820

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

Preview Lab → · Contrast checker → · Palette generator →

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