#579222#579222

#579222 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#579222
RGBrgb(87, 146, 34)
HSLhsl(92, 62%, 35%)
HSVhsv(92, 77%, 57%)
CMYKcmyk(40.4%, 0%, 76.7%, 42.7%)
CIE-LABlab(54.76, -37.85, 49.76)
CIE-LCHlch(54.76, 62.52, 127.26°)
OKLaboklab(59.73% -0.1063 0.1111)
OKLCHoklch(59.73% 0.154 133.7)
XYZxyz(14.4978, 22.6988, 5.1305)
Luminance0.2270 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#579222 #5D2292
analogous
#8F9222 #579222 #229225
triadic
#579222 #225792 #922257
tetradic
#579222 #228F92 #5D2292 #922522
square
#579222 #228F92 #5D2292 #922522
split-complementary
#579222 #252292 #92228F
monochromatic
#1C2F0B #396016 #579222 #75C42E #94D857

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##579222#FFFFFF#000000##000000
##5792221.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)
#988609
Deuteranopia (green-blind)
#90812D
Tritanopia (blue-blind)
#578C7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #579222;
/* rgb */ color: rgb(87, 146, 34);
/* oklch */ color: oklch(59.7% 0.154 133.7);
Tailwind
colors: {
  custom: {
    50: '#8cb266',
    500: '#579222',
    950: '#000000',
  },
}
SCSS
$custom: #579222;
$custom-light: #8cb266;
$custom-dark: #000000;
JSON
{
  "hex": "#579222",
  "rgb": {
    "r": 87,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 91.607,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59733,
    "c": 0.15378,
    "h": 133.7
  },
  "luminance": 0.22699
}

Semantic roles & 50–950 ramp

primary
#579222
secondary
#8B54BC
accent
#43E598
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #579222

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

Preview Lab → · Contrast checker → · Palette generator →

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