#5F8720#5F8720

#5F8720 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.3% C 0.136 H 128.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5F8720
RGBrgb(95, 135, 32)
HSLhsl(83, 62%, 33%)
HSVhsv(83, 76%, 53%)
CMYKcmyk(29.6%, 0%, 76.3%, 47.1%)
CIE-LABlab(51.68, -29.94, 47.64)
CIE-LCHlch(51.68, 56.27, 122.15°)
OKLaboklab(57.34% -0.0855 0.1062)
OKLCHoklch(57.34% 0.136 128.9)
XYZxyz(13.6440, 19.8648, 4.4816)
Luminance0.1986 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8720 #482087
analogous
#877B20 #5F8720 #2B8720
triadic
#5F8720 #205F87 #87205F
tetradic
#5F8720 #20877B #482087 #87202B
square
#5F8720 #20877B #482087 #87202B
split-complementary
#5F8720 #202B87 #7B2087
monochromatic
#192409 #3C5614 #5F8720 #82B82C #A0D54D

Accessibility & contrast

On white

4.22
#5F8720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5F8720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8720
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8720#FFFFFF#000000##000000
##5F87201.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0A
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#628173
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f8720;
/* rgb */ color: rgb(95, 135, 32);
/* oklch */ color: oklch(57.3% 0.136 128.9);
Tailwind
colors: {
  custom: {
    50: '#90aa63',
    500: '#5f8720',
    950: '#000000',
  },
}
SCSS
$custom: #5f8720;
$custom-light: #90aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8720",
  "rgb": {
    "r": 95,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 83.301,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57337,
    "c": 0.13636,
    "h": 128.9
  },
  "luminance": 0.19865
}

Semantic roles & 50–950 ramp

primary
#5F8720
secondary
#754BB8
accent
#43E582
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F8720

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

Preview Lab → · Contrast checker → · Palette generator →

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