#578331#578331

#578331 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.9% C 0.122 H 132.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#578331
RGBrgb(87, 131, 49)
HSLhsl(92, 46%, 35%)
HSVhsv(92, 63%, 51%)
CMYKcmyk(33.6%, 0%, 62.6%, 48.6%)
CIE-LABlab(50.07, -29.85, 38.63)
CIE-LCHlch(50.07, 48.82, 127.69°)
OKLaboklab(55.95% -0.0833 0.0898)
OKLCHoklch(55.95% 0.122 132.9)
XYZxyz(12.6010, 18.4801, 5.8082)
Luminance0.1848 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578331 #5D3183
analogous
#808331 #578331 #318334
triadic
#578331 #315783 #833157
tetradic
#578331 #318083 #5D3183 #833431
square
#578331 #318083 #5D3183 #833431
split-complementary
#578331 #343183 #833180
monochromatic
#1C2A10 #395620 #578331 #75B042 #94C668

Accessibility & contrast

On white

4.47
#578331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#578331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #578331
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##578331#FFFFFF#000000##000000
##5783311.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887928
Deuteranopia (green-blind)
#827637
Tritanopia (blue-blind)
#587E72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #578331;
/* rgb */ color: rgb(87, 131, 49);
/* oklch */ color: oklch(55.9% 0.122 132.9);
Tailwind
colors: {
  custom: {
    50: '#89a76c',
    500: '#578331',
    950: '#000000',
  },
}
SCSS
$custom: #578331;
$custom-light: #89a76c;
$custom-dark: #000000;
JSON
{
  "hex": "#578331",
  "rgb": {
    "r": 87,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 92.195,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55945,
    "c": 0.12248,
    "h": 132.9
  },
  "luminance": 0.18481
}

Semantic roles & 50–950 ramp

primary
#578331
secondary
#8B62AE
accent
#53D599
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #578331

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

Preview Lab → · Contrast checker → · Palette generator →

#578331 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva