#578221#578221

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

Color values

HEX#578221
RGBrgb(87, 130, 33)
HSLhsl(87, 60%, 32%)
HSVhsv(87, 75%, 51%)
CMYKcmyk(33.1%, 0%, 74.6%, 49%)
CIE-LABlab(49.62, -30.70, 45.08)
CIE-LCHlch(49.62, 54.54, 124.26°)
OKLaboklab(55.53% -0.087 0.1012)
OKLCHoklch(55.53% 0.133 130.7)
XYZxyz(12.1875, 18.1009, 4.2902)
Luminance0.1810 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578221 #4C2182
analogous
#827D21 #578221 #278221
triadic
#578221 #215782 #822157
tetradic
#578221 #21827D #4C2182 #822127
square
#578221 #21827D #4C2182 #822127
split-complementary
#578221 #212782 #7D2182
monochromatic
#162008 #365115 #578221 #78B32D #96D24C

Accessibility & contrast

On white

4.55
#578221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#578221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##578221#FFFFFF#000000##000000
##5782211.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780F
Deuteranopia (green-blind)
#82752A
Tritanopia (blue-blind)
#597C6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #578221;
/* rgb */ color: rgb(87, 130, 33);
/* oklch */ color: oklch(55.5% 0.133 130.7);
Tailwind
colors: {
  custom: {
    50: '#8aa663',
    500: '#578221',
    950: '#000000',
  },
}
SCSS
$custom: #578221;
$custom-light: #8aa663;
$custom-dark: #000000;
JSON
{
  "hex": "#578221",
  "rgb": {
    "r": 87,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 86.598,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55531,
    "c": 0.13344,
    "h": 130.7
  },
  "luminance": 0.18101
}

Semantic roles & 50–950 ramp

primary
#578221
secondary
#794AB4
accent
#45E38B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #578221

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

Preview Lab → · Contrast checker → · Palette generator →

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