#578F22#578F22

#578F22 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 58.9% C 0.150 H 133.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#578F22
RGBrgb(87, 143, 34)
HSLhsl(91, 62%, 35%)
HSVhsv(91, 76%, 56%)
CMYKcmyk(39.2%, 0%, 76.2%, 43.9%)
CIE-LABlab(53.80, -36.54, 48.83)
CIE-LCHlch(53.80, 60.99, 126.81°)
OKLaboklab(58.95% -0.1028 0.1092)
OKLCHoklch(58.95% 0.15 133.3)
XYZxyz(14.0415, 21.7860, 4.9783)
Luminance0.2179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578F22 #5A228F
analogous
#8D8F22 #578F22 #228F24
triadic
#578F22 #22578F #8F2257
tetradic
#578F22 #228D8F #5A228F #8F2422
square
#578F22 #228D8F #5A228F #8F2422
split-complementary
#578F22 #24228F #8F228D
monochromatic
#1B2C0A #395E16 #578F22 #75C02E #94D755

Accessibility & contrast

On white

3.92
#578F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#578F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #578F22
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##578F22#FFFFFF#000000##000000
##578F221.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830B
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#57897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #578f22;
/* rgb */ color: rgb(87, 143, 34);
/* oklch */ color: oklch(58.9% 0.150 133.3);
Tailwind
colors: {
  custom: {
    50: '#8bb065',
    500: '#578f22',
    950: '#000000',
  },
}
SCSS
$custom: #578f22;
$custom-light: #8bb065;
$custom-dark: #000000;
JSON
{
  "hex": "#578f22",
  "rgb": {
    "r": 87,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 90.826,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58946,
    "c": 0.14992,
    "h": 133.3
  },
  "luminance": 0.21787
}

Semantic roles & 50–950 ramp

primary
#578F22
secondary
#8852BA
accent
#43E596
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #578F22

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

Preview Lab → · Contrast checker → · Palette generator →

#578F22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva