#578B20#578B20

#578B20 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.9% C 0.146 H 132.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#578B20
RGBrgb(87, 139, 32)
HSLhsl(89, 63%, 34%)
HSVhsv(89, 77%, 55%)
CMYKcmyk(37.4%, 0%, 77%, 45.5%)
CIE-LABlab(52.50, -34.89, 48.28)
CIE-LCHlch(52.50, 59.57, 125.85°)
OKLaboklab(57.88% -0.0985 0.1077)
OKLCHoklch(57.88% 0.146 132.4)
XYZxyz(13.4236, 20.5952, 4.6342)
Luminance0.2060 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578B20 #54208B
analogous
#8B8920 #578B20 #218B20
triadic
#578B20 #20578B #8B2057
tetradic
#578B20 #208B89 #54208B #8B2021
square
#578B20 #208B89 #54208B #8B2021
split-complementary
#578B20 #20218B #89208B
monochromatic
#192809 #385915 #578B20 #76BD2B #95D64F

Accessibility & contrast

On white

4.10
#578B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#578B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #578B20
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##578B20#FFFFFF#000000##000000
##578B201.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918008
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#588577
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #578b20;
/* rgb */ color: rgb(87, 139, 32);
/* oklch */ color: oklch(57.9% 0.146 132.4);
Tailwind
colors: {
  custom: {
    50: '#8bad64',
    500: '#578b20',
    950: '#000000',
  },
}
SCSS
$custom: #578b20;
$custom-light: #8bad64;
$custom-dark: #000000;
JSON
{
  "hex": "#578b20",
  "rgb": {
    "r": 87,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 89.159,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57883,
    "c": 0.14592,
    "h": 132.4
  },
  "luminance": 0.20596
}

Semantic roles & 50–950 ramp

primary
#578B20
secondary
#824DBA
accent
#42E692
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #578B20

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

Preview Lab → · Contrast checker → · Palette generator →

#578B20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva