#579226#579226

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

Color values

HEX#579226
RGBrgb(87, 146, 38)
HSLhsl(93, 59%, 36%)
HSVhsv(93, 74%, 57%)
CMYKcmyk(40.4%, 0%, 74%, 42.7%)
CIE-LABlab(54.79, -37.59, 48.33)
CIE-LCHlch(54.79, 61.22, 127.87°)
OKLaboklab(59.76% -0.1053 0.1087)
OKLCHoklch(59.76% 0.151 134.1)
XYZxyz(14.5589, 22.7232, 5.4522)
Luminance0.2272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#579226 #612692
analogous
#8D9226 #579226 #26922B
triadic
#579226 #265792 #922657
tetradic
#579226 #268D92 #612692 #922B26
square
#579226 #268D92 #612692 #922B26
split-complementary
#579226 #2B2692 #92268D
monochromatic
#1D310D #3A6119 #579226 #74C333 #94D55D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##579226#FFFFFF#000000##000000
##5792261.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)
#988612
Deuteranopia (green-blind)
#908130
Tritanopia (blue-blind)
#568C7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #579226;
/* rgb */ color: rgb(87, 146, 38);
/* oklch */ color: oklch(59.8% 0.151 134.1);
Tailwind
colors: {
  custom: {
    50: '#8bb268',
    500: '#579226',
    950: '#000000',
  },
}
SCSS
$custom: #579226;
$custom-light: #8bb268;
$custom-dark: #000000;
JSON
{
  "hex": "#579226",
  "rgb": {
    "r": 87,
    "g": 146,
    "b": 38
  },
  "hsl": {
    "h": 92.778,
    "s": 58.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59762,
    "c": 0.15135,
    "h": 134.1
  },
  "luminance": 0.22724
}

Semantic roles & 50–950 ramp

primary
#579226
secondary
#8E5ABA
accent
#46E29B
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #579226

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

Preview Lab → · Contrast checker → · Palette generator →

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