#5F8719#5F8719

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

Color values

HEX#5F8719
RGBrgb(95, 135, 25)
HSLhsl(82, 69%, 31%)
HSVhsv(82, 81%, 53%)
CMYKcmyk(29.6%, 0%, 81.5%, 47.1%)
CIE-LABlab(51.65, -30.32, 49.96)
CIE-LCHlch(51.65, 58.44, 121.25°)
OKLaboklab(57.29% -0.0871 0.1099)
OKLCHoklch(57.29% 0.14 128.4)
XYZxyz(13.5588, 19.8307, 4.0329)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8719 #411987
analogous
#877819 #5F8719 #288719
triadic
#5F8719 #195F87 #87195F
tetradic
#5F8719 #198778 #411987 #871928
square
#5F8719 #198778 #411987 #871928
split-complementary
#5F8719 #192887 #781987
monochromatic
#162006 #3B530F #5F8719 #83BB23 #A3DB3F

Accessibility & contrast

On white

4.23
#5F8719 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F8719#FFFFFF#000000##000000
##5F87191.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#897A25
Tritanopia (blue-blind)
#628173
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f8719;
/* rgb */ color: rgb(95, 135, 25);
/* oklch */ color: oklch(57.3% 0.140 128.4);
Tailwind
colors: {
  custom: {
    50: '#90aa60',
    500: '#5f8719',
    950: '#000000',
  },
}
SCSS
$custom: #5f8719;
$custom-light: #90aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8719",
  "rgb": {
    "r": 95,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 81.818,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57293,
    "c": 0.14024,
    "h": 128.4
  },
  "luminance": 0.19831
}

Semantic roles & 50–950 ramp

primary
#5F8719
secondary
#6D41BA
accent
#3CEC7C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5F8719

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

Preview Lab → · Contrast checker → · Palette generator →

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