#58821C#58821C

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

Color values

HEX#58821C
RGBrgb(88, 130, 28)
HSLhsl(85, 65%, 31%)
HSVhsv(85, 78%, 51%)
CMYKcmyk(32.3%, 0%, 78.5%, 49%)
CIE-LABlab(49.65, -30.62, 46.96)
CIE-LCHlch(49.65, 56.06, 123.11°)
OKLaboklab(55.56% -0.0873 0.1043)
OKLCHoklch(55.56% 0.136 129.9)
XYZxyz(12.2167, 18.1234, 3.9529)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58821C #461C82
analogous
#82791C #58821C #25821C
triadic
#58821C #1C5882 #821C58
tetradic
#58821C #1C8279 #461C82 #821C25
square
#58821C #1C8279 #461C82 #821C25
split-complementary
#58821C #1C2582 #791C82
monochromatic
#141D06 #365011 #58821C #7AB427 #99D642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##58821C#FFFFFF#000000##000000
##58821C1.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)
#887804
Deuteranopia (green-blind)
#837526
Tritanopia (blue-blind)
#5A7C6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #58821c;
/* rgb */ color: rgb(88, 130, 28);
/* oklch */ color: oklch(55.6% 0.136 129.9);
Tailwind
colors: {
  custom: {
    50: '#8ba661',
    500: '#58821c',
    950: '#000000',
  },
}
SCSS
$custom: #58821c;
$custom-light: #8ba661;
$custom-dark: #000000;
JSON
{
  "hex": "#58821c",
  "rgb": {
    "r": 88,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 84.706,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55559,
    "c": 0.13595,
    "h": 129.9
  },
  "luminance": 0.18124
}

Semantic roles & 50–950 ramp

primary
#58821C
secondary
#7344B5
accent
#40E885
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #58821C

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

Preview Lab → · Contrast checker → · Palette generator →

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