#579228#579228

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

Color values

HEX#579228
RGBrgb(87, 146, 40)
HSLhsl(93, 57%, 36%)
HSVhsv(93, 73%, 57%)
CMYKcmyk(40.4%, 0%, 72.6%, 42.7%)
CIE-LABlab(54.80, -37.44, 47.57)
CIE-LCHlch(54.80, 60.54, 128.20°)
OKLaboklab(59.78% -0.1048 0.1074)
OKLCHoklch(59.78% 0.15 134.3)
XYZxyz(14.5921, 22.7365, 5.6268)
Luminance0.2274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#579228 #632892
analogous
#8C9228 #579228 #28922E
triadic
#579228 #285792 #922857
tetradic
#579228 #288C92 #632892 #922E28
square
#579228 #288C92 #632892 #922E28
split-complementary
#579228 #2E2892 #92288C
monochromatic
#1E320E #3A621B #579228 #74C235 #94D461

Accessibility & contrast

On white

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

On black

5.55
#579228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #579228
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##579228#FFFFFF#000000##000000
##5792281.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988616
Deuteranopia (green-blind)
#908132
Tritanopia (blue-blind)
#568C7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #579228;
/* rgb */ color: rgb(87, 146, 40);
/* oklch */ color: oklch(59.8% 0.150 134.3);
Tailwind
colors: {
  custom: {
    50: '#8bb269',
    500: '#579228',
    950: '#000000',
  },
}
SCSS
$custom: #579228;
$custom-light: #8bb269;
$custom-dark: #000000;
JSON
{
  "hex": "#579228",
  "rgb": {
    "r": 87,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 93.396,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59777,
    "c": 0.15006,
    "h": 134.3
  },
  "luminance": 0.22737
}

Semantic roles & 50–950 ramp

primary
#579228
secondary
#905DB9
accent
#48E09D
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #579228

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

Preview Lab → · Contrast checker → · Palette generator →

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