#5F971E#5F971E

#5F971E is a mid, vivid yellow-green. Relative luminance 0.247; OKLCH L 61.5% C 0.158 H 132.0°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5F971E
RGBrgb(95, 151, 30)
HSLhsl(88, 67%, 35%)
HSVhsv(88, 80%, 59%)
CMYKcmyk(37.1%, 0%, 80.1%, 40.8%)
CIE-LABlab(56.74, -37.35, 53.12)
CIE-LCHlch(56.74, 64.93, 125.11°)
OKLaboklab(61.46% -0.1058 0.1174)
OKLCHoklch(61.46% 0.158 132)
XYZxyz(16.0201, 24.6592, 5.1437)
Luminance0.2466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F971E #561E97
analogous
#97931E #5F971E #22971E
triadic
#5F971E #1E5F97 #971E5F
tetradic
#5F971E #1E9793 #561E97 #971E22
square
#5F971E #1E9793 #561E97 #971E22
split-complementary
#5F971E #1E2297 #931E97
monochromatic
#1F310A #3F6414 #5F971E #7FCA28 #9DDD53

Accessibility & contrast

On white

3.54
#5F971E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#5F971E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F971E
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F971E#FFFFFF#000000##000000
##5F971E1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#96872B
Tritanopia (blue-blind)
#609081
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f971e;
/* rgb */ color: rgb(95, 151, 30);
/* oklch */ color: oklch(61.5% 0.158 132.0);
Tailwind
colors: {
  custom: {
    50: '#91b665',
    500: '#5f971e',
    950: '#000000',
  },
}
SCSS
$custom: #5f971e;
$custom-light: #91b665;
$custom-dark: #000000;
JSON
{
  "hex": "#5f971e",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 87.769,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61456,
    "c": 0.15798,
    "h": 132
  },
  "luminance": 0.2466
}

Semantic roles & 50–950 ramp

primary
#5F971E
secondary
#8451C0
accent
#3EEA8E
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F971E

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

Preview Lab → · Contrast checker → · Palette generator →

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