#579221#579221

#579221 is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 59.7% C 0.154 H 133.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#579221
RGBrgb(87, 146, 33)
HSLhsl(91, 63%, 35%)
HSVhsv(91, 77%, 57%)
CMYKcmyk(40.4%, 0%, 77.4%, 42.7%)
CIE-LABlab(54.75, -37.91, 50.11)
CIE-LCHlch(54.75, 62.83, 127.11°)
OKLaboklab(59.73% -0.1065 0.1117)
OKLCHoklch(59.73% 0.154 133.7)
XYZxyz(14.4836, 22.6931, 5.0556)
Luminance0.2269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#579221 #5C2192
analogous
#909221 #579221 #219223
triadic
#579221 #215792 #922157
tetradic
#579221 #219092 #5C2192 #922321
square
#579221 #219092 #5C2192 #922321
split-complementary
#579221 #232192 #922190
monochromatic
#1C2E0A #396016 #579221 #75C42C #94D955

Accessibility & contrast

On white

3.79
#579221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#579221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #579221
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##579221#FFFFFF#000000##000000
##5792211.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988606
Deuteranopia (green-blind)
#90812D
Tritanopia (blue-blind)
#578C7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #579221;
/* rgb */ color: rgb(87, 146, 33);
/* oklch */ color: oklch(59.7% 0.154 133.7);
Tailwind
colors: {
  custom: {
    50: '#8cb265',
    500: '#579221',
    950: '#000000',
  },
}
SCSS
$custom: #579221;
$custom-light: #8cb265;
$custom-dark: #000000;
JSON
{
  "hex": "#579221",
  "rgb": {
    "r": 87,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 91.327,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59726,
    "c": 0.15435,
    "h": 133.7
  },
  "luminance": 0.22694
}

Semantic roles & 50–950 ramp

primary
#579221
secondary
#8A53BC
accent
#42E698
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0D1106
muted
#7D807A

Preview Lab

Preview with #579221

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

Preview Lab → · Contrast checker → · Palette generator →

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