#5F8724#5F8724

#5F8724 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.4% C 0.134 H 129.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5F8724
RGBrgb(95, 135, 36)
HSLhsl(84, 58%, 34%)
HSVhsv(84, 73%, 53%)
CMYKcmyk(29.6%, 0%, 73.3%, 47.1%)
CIE-LABlab(51.71, -29.68, 46.16)
CIE-LCHlch(51.71, 54.88, 122.74°)
OKLaboklab(57.37% -0.0845 0.1037)
OKLCHoklch(57.37% 0.134 129.2)
XYZxyz(13.7017, 19.8878, 4.7856)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8724 #4C2487
analogous
#877D24 #5F8724 #2D8724
triadic
#5F8724 #245F87 #87245F
tetradic
#5F8724 #24877D #4C2487 #87242D
square
#5F8724 #24877D #4C2487 #87242D
split-complementary
#5F8724 #242D87 #7D2487
monochromatic
#1B260A #3D5717 #5F8724 #81B731 #9FD154

Accessibility & contrast

On white

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

On black

4.98
#5F8724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8724
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8724#FFFFFF#000000##000000
##5F87241.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D13
Deuteranopia (green-blind)
#887A2D
Tritanopia (blue-blind)
#628174
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f8724;
/* rgb */ color: rgb(95, 135, 36);
/* oklch */ color: oklch(57.4% 0.134 129.2);
Tailwind
colors: {
  custom: {
    50: '#90aa66',
    500: '#5f8724',
    950: '#000000',
  },
}
SCSS
$custom: #5f8724;
$custom-light: #90aa66;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8724",
  "rgb": {
    "r": 95,
    "g": 135,
    "b": 36
  },
  "hsl": {
    "h": 84.242,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57366,
    "c": 0.1338,
    "h": 129.2
  },
  "luminance": 0.19888
}

Semantic roles & 50–950 ramp

primary
#5F8724
secondary
#7A51B5
accent
#47E185
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F8724

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

Preview Lab → · Contrast checker → · Palette generator →

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