#58842A#58842A

#58842A is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.2% C 0.129 H 131.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#58842A
RGBrgb(88, 132, 42)
HSLhsl(89, 52%, 34%)
HSVhsv(89, 68%, 52%)
CMYKcmyk(33.3%, 0%, 68.2%, 48.2%)
CIE-LABlab(50.39, -30.57, 42.18)
CIE-LCHlch(50.39, 52.10, 125.94°)
OKLaboklab(56.19% -0.086 0.0964)
OKLCHoklch(56.19% 0.129 131.7)
XYZxyz(12.6935, 18.7440, 5.1392)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58842A #562A84
analogous
#84832A #58842A #2B842A
triadic
#58842A #2A5884 #842A58
tetradic
#58842A #2A8483 #562A84 #842A2B
square
#58842A #2A8483 #562A84 #842A2B
split-complementary
#58842A #2A2B84 #832A84
monochromatic
#1A270C #39561B #58842A #77B239 #95CB5D

Accessibility & contrast

On white

4.42
#58842A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#58842A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #58842A
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58842A#FFFFFF#000000##000000
##58842A1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1E
Deuteranopia (green-blind)
#847731
Tritanopia (blue-blind)
#597F72
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #58842a;
/* rgb */ color: rgb(88, 132, 42);
/* oklch */ color: oklch(56.2% 0.129 131.7);
Tailwind
colors: {
  custom: {
    50: '#8ba868',
    500: '#58842a',
    950: '#000000',
  },
}
SCSS
$custom: #58842a;
$custom-light: #8ba868;
$custom-dark: #000000;
JSON
{
  "hex": "#58842a",
  "rgb": {
    "r": 88,
    "g": 132,
    "b": 42
  },
  "hsl": {
    "h": 89.333,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56194,
    "c": 0.12916,
    "h": 131.7
  },
  "luminance": 0.18744
}

Semantic roles & 50–950 ramp

primary
#58842A
secondary
#8459B1
accent
#4DDB92
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #58842A

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

Preview Lab → · Contrast checker → · Palette generator →

#58842A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva