#578D2F#578D2F

#578D2F is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.5% C 0.138 H 134.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#578D2F
RGBrgb(87, 141, 47)
HSLhsl(94, 50%, 37%)
HSVhsv(94, 67%, 55%)
CMYKcmyk(38.3%, 0%, 66.7%, 44.7%)
CIE-LABlab(53.26, -34.66, 43.04)
CIE-LCHlch(53.26, 55.26, 128.84°)
OKLaboklab(58.53% -0.0966 0.0989)
OKLCHoklch(58.53% 0.138 134.3)
XYZxyz(13.9682, 21.2806, 6.0604)
Luminance0.2128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578D2F #652F8D
analogous
#868D2F #578D2F #2F8D36
triadic
#578D2F #2F578D #8D2F57
tetradic
#578D2F #2F868D #652F8D #8D362F
square
#578D2F #2F868D #652F8D #8D362F
split-complementary
#578D2F #362F8D #8D2F86
monochromatic
#1E3110 #3B5F20 #578D2F #73BB3E #94CD69

Accessibility & contrast

On white

4.00
#578D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#578D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #578D2F
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##578D2F#FFFFFF#000000##000000
##578D2F1.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928223
Deuteranopia (green-blind)
#8B7E37
Tritanopia (blue-blind)
#56887A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #578d2f;
/* rgb */ color: rgb(87, 141, 47);
/* oklch */ color: oklch(58.5% 0.138 134.3);
Tailwind
colors: {
  custom: {
    50: '#8aaf6c',
    500: '#578d2f',
    950: '#000000',
  },
}
SCSS
$custom: #578d2f;
$custom-light: #8aaf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#578d2f",
  "rgb": {
    "r": 87,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 94.468,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58533,
    "c": 0.13827,
    "h": 134.3
  },
  "luminance": 0.21281
}

Semantic roles & 50–950 ramp

primary
#578D2F
secondary
#9264B4
accent
#4EDA9E
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #578D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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