#579122#579122

#579122 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.5% C 0.152 H 133.6°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#579122
RGBrgb(87, 145, 34)
HSLhsl(91, 62%, 35%)
HSVhsv(91, 77%, 57%)
CMYKcmyk(40%, 0%, 76.6%, 43.1%)
CIE-LABlab(54.44, -37.42, 49.45)
CIE-LCHlch(54.44, 62.01, 127.11°)
OKLaboklab(59.47% -0.1051 0.1105)
OKLCHoklch(59.47% 0.153 133.6)
XYZxyz(14.3444, 22.3918, 5.0793)
Luminance0.2239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#579122 #5C2291
analogous
#8F9122 #579122 #229124
triadic
#579122 #225791 #912257
tetradic
#579122 #228F91 #5C2291 #912422
square
#579122 #228F91 #5C2291 #912422
split-complementary
#579122 #242291 #91228F
monochromatic
#1C2E0B #395F16 #579122 #75C32E #94D756

Accessibility & contrast

On white

3.83
#579122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#579122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #579122
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##579122#FFFFFF#000000##000000
##5791221.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978509
Deuteranopia (green-blind)
#8F812D
Tritanopia (blue-blind)
#578B7C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #579122;
/* rgb */ color: rgb(87, 145, 34);
/* oklch */ color: oklch(59.5% 0.152 133.6);
Tailwind
colors: {
  custom: {
    50: '#8cb166',
    500: '#579122',
    950: '#000000',
  },
}
SCSS
$custom: #579122;
$custom-light: #8cb166;
$custom-dark: #000000;
JSON
{
  "hex": "#579122",
  "rgb": {
    "r": 87,
    "g": 145,
    "b": 34
  },
  "hsl": {
    "h": 91.351,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59471,
    "c": 0.1525,
    "h": 133.6
  },
  "luminance": 0.22393
}

Semantic roles & 50–950 ramp

primary
#579122
secondary
#8A53BB
accent
#43E598
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #579122

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

Preview Lab → · Contrast checker → · Palette generator →

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