#58971B#58971B

#58971B is a mid, vivid yellow-green. Relative luminance 0.243; OKLCH L 61.1% C 0.163 H 133.7°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#58971B
RGBrgb(88, 151, 27)
HSLhsl(90, 70%, 35%)
HSVhsv(90, 82%, 59%)
CMYKcmyk(41.7%, 0%, 82.1%, 40.8%)
CIE-LABlab(56.37, -40.03, 53.55)
CIE-LCHlch(56.37, 66.86, 126.78°)
OKLaboklab(61.06% -0.1127 0.118)
OKLCHoklch(61.06% 0.163 133.7)
XYZxyz(15.2887, 24.2863, 4.9188)
Luminance0.2429 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58971B #5A1B97
analogous
#96971B #58971B #1B971C
triadic
#58971B #1B5897 #971B58
tetradic
#58971B #1B9697 #5A1B97 #971C1B
square
#58971B #1B9697 #5A1B97 #971C1B
split-complementary
#58971B #1C1B97 #971B96
monochromatic
#1B2F08 #3A6312 #58971B #76CB24 #95DF4D

Accessibility & contrast

On white

3.59
#58971B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#58971B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #58971B
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58971B#FFFFFF#000000##000000
##58971B1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#95852A
Tritanopia (blue-blind)
#589181
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #58971b;
/* rgb */ color: rgb(88, 151, 27);
/* oklch */ color: oklch(61.1% 0.163 133.7);
Tailwind
colors: {
  custom: {
    50: '#8db663',
    500: '#58971b',
    950: '#000000',
  },
}
SCSS
$custom: #58971b;
$custom-light: #8db663;
$custom-dark: #000000;
JSON
{
  "hex": "#58971b",
  "rgb": {
    "r": 88,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 90.484,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61055,
    "c": 0.16314,
    "h": 133.7
  },
  "luminance": 0.24287
}

Semantic roles & 50–950 ramp

primary
#58971B
secondary
#884CC1
accent
#3BEC95
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #58971B

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

Preview Lab → · Contrast checker → · Palette generator →

#58971B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva