#579131#579131

#579131 is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.6% C 0.142 H 135.2°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#579131
RGBrgb(87, 145, 49)
HSLhsl(96, 49%, 38%)
HSVhsv(96, 66%, 57%)
CMYKcmyk(40%, 0%, 66.2%, 43.1%)
CIE-LABlab(54.55, -36.26, 43.56)
CIE-LCHlch(54.55, 56.68, 129.77°)
OKLaboklab(59.6% -0.1009 0.1002)
OKLCHoklch(59.6% 0.142 135.2)
XYZxyz(14.6099, 22.4981, 6.4779)
Luminance0.2250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#579131 #6B3191
analogous
#879131 #579131 #31913B
triadic
#579131 #315791 #913157
tetradic
#579131 #318791 #6B3191 #913B31
square
#579131 #318791 #6B3191 #913B31
split-complementary
#579131 #3B3191 #913187
monochromatic
#203612 #3C6322 #579131 #72BF41 #94CE6E

Accessibility & contrast

On white

3.82
#579131 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#579131 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #579131
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##579131#FFFFFF#000000##000000
##5791311.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968625
Deuteranopia (green-blind)
#8E8139
Tritanopia (blue-blind)
#568C7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #579131;
/* rgb */ color: rgb(87, 145, 49);
/* oklch */ color: oklch(59.6% 0.142 135.2);
Tailwind
colors: {
  custom: {
    50: '#8bb16e',
    500: '#579131',
    950: '#000000',
  },
}
SCSS
$custom: #579131;
$custom-light: #8bb16e;
$custom-dark: #000000;
JSON
{
  "hex": "#579131",
  "rgb": {
    "r": 87,
    "g": 145,
    "b": 49
  },
  "hsl": {
    "h": 96.25,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59597,
    "c": 0.1422,
    "h": 135.2
  },
  "luminance": 0.22499
}

Semantic roles & 50–950 ramp

primary
#579131
secondary
#9768B6
accent
#4FD9A2
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #579131

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

Preview Lab → · Contrast checker → · Palette generator →

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