#5F971D#5F971D

#5F971D 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#5F971D
RGBrgb(95, 151, 29)
HSLhsl(88, 68%, 35%)
HSVhsv(88, 81%, 59%)
CMYKcmyk(37.1%, 0%, 80.8%, 40.8%)
CIE-LABlab(56.74, -37.40, 53.42)
CIE-LCHlch(56.74, 65.21, 125.00°)
OKLaboklab(61.45% -0.106 0.1178)
OKLCHoklch(61.45% 0.158 132)
XYZxyz(16.0075, 24.6541, 5.0775)
Luminance0.2465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F971D #551D97
analogous
#97921D #5F971D #22971D
triadic
#5F971D #1D5F97 #971D5F
tetradic
#5F971D #1D9792 #551D97 #971D22
square
#5F971D #1D9792 #551D97 #971D22
split-complementary
#5F971D #1D2297 #921D97
monochromatic
#1E3009 #3F6413 #5F971D #7FCA27 #9DDE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F971D#FFFFFF#000000##000000
##5F971D1.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: #5f971d;
/* rgb */ color: rgb(95, 151, 29);
/* oklch */ color: oklch(61.5% 0.158 132.0);
Tailwind
colors: {
  custom: {
    50: '#92b664',
    500: '#5f971d',
    950: '#000000',
  },
}
SCSS
$custom: #5f971d;
$custom-light: #92b664;
$custom-dark: #000000;
JSON
{
  "hex": "#5f971d",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 87.541,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61451,
    "c": 0.15847,
    "h": 132
  },
  "luminance": 0.24655
}

Semantic roles & 50–950 ramp

primary
#5F971D
secondary
#834FC0
accent
#3DEB8D
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F971D

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

Preview Lab → · Contrast checker → · Palette generator →

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