#58821B#58821B

#58821B is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.6% C 0.137 H 129.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#58821B
RGBrgb(88, 130, 27)
HSLhsl(84, 66%, 31%)
HSVhsv(84, 79%, 51%)
CMYKcmyk(32.3%, 0%, 79.2%, 49%)
CIE-LABlab(49.64, -30.68, 47.30)
CIE-LCHlch(49.64, 56.37, 122.97°)
OKLaboklab(55.55% -0.0875 0.1048)
OKLCHoklch(55.55% 0.137 129.9)
XYZxyz(12.2049, 18.1187, 3.8909)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58821B #451B82
analogous
#82781B #58821B #24821B
triadic
#58821B #1B5882 #821B58
tetradic
#58821B #1B8278 #451B82 #821B24
square
#58821B #1B8278 #451B82 #821B24
split-complementary
#58821B #1B2482 #781B82
monochromatic
#131D06 #364F10 #58821B #7AB526 #9AD740

Accessibility & contrast

On white

4.54
#58821B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#58821B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #58821B
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58821B#FFFFFF#000000##000000
##58821B1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887801
Deuteranopia (green-blind)
#837526
Tritanopia (blue-blind)
#5B7C6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #58821b;
/* rgb */ color: rgb(88, 130, 27);
/* oklch */ color: oklch(55.6% 0.137 129.9);
Tailwind
colors: {
  custom: {
    50: '#8ba660',
    500: '#58821b',
    950: '#000000',
  },
}
SCSS
$custom: #58821b;
$custom-light: #8ba660;
$custom-dark: #000000;
JSON
{
  "hex": "#58821b",
  "rgb": {
    "r": 88,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 84.466,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55553,
    "c": 0.13652,
    "h": 129.9
  },
  "luminance": 0.18119
}

Semantic roles & 50–950 ramp

primary
#58821B
secondary
#7243B6
accent
#3FE984
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #58821B

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

Preview Lab → · Contrast checker → · Palette generator →

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