#58731F#58731F

#58731F is a mid, moderate yellow-green. Relative luminance 0.144; OKLCH L 51.7% C 0.114 H 125.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#58731F
RGBrgb(88, 115, 31)
HSLhsl(79, 58%, 29%)
HSVhsv(79, 73%, 45%)
CMYKcmyk(23.5%, 0%, 73%, 54.9%)
CIE-LABlab(44.85, -23.12, 41.12)
CIE-LCHlch(44.85, 47.17, 119.35°)
OKLaboklab(51.67% -0.0665 0.0925)
OKLCHoklch(51.67% 0.114 125.7)
XYZxyz(10.4026, 14.4350, 3.5342)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58731F #3A1F73
analogous
#73641F #58731F #2E731F
triadic
#58731F #1F5873 #731F58
tetradic
#58731F #1F7364 #3A1F73 #731F2E
square
#58731F #1F7364 #3A1F73 #731F2E
split-complementary
#58731F #1F2E73 #641F73
monochromatic
#121806 #334312 #58731F #7DA32C #9FCC41

Accessibility & contrast

On white

5.40
#58731F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#58731F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #58731F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58731F#FFFFFF#000000##FFFFFF
##58731F1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B11
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#5C6D62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #58731f;
/* rgb */ color: rgb(88, 115, 31);
/* oklch */ color: oklch(51.7% 0.114 125.7);
Tailwind
colors: {
  custom: {
    50: '#8a9b60',
    500: '#58731f',
    950: '#000000',
  },
}
SCSS
$custom: #58731f;
$custom-light: #8a9b60;
$custom-dark: #000000;
JSON
{
  "hex": "#58731f",
  "rgb": {
    "r": 88,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 79.286,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51671,
    "c": 0.11395,
    "h": 125.7
  },
  "luminance": 0.14435
}

Semantic roles & 50–950 ramp

primary
#58731F
secondary
#6647A7
accent
#47E178
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #58731F

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

Preview Lab → · Contrast checker → · Palette generator →

#58731F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva