#578222#578222

#578222 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.5% C 0.133 H 130.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#578222
RGBrgb(87, 130, 34)
HSLhsl(87, 59%, 32%)
HSVhsv(87, 74%, 51%)
CMYKcmyk(33.1%, 0%, 73.8%, 49%)
CIE-LABlab(49.63, -30.64, 44.70)
CIE-LCHlch(49.63, 54.19, 124.43°)
OKLaboklab(55.54% -0.0868 0.1005)
OKLCHoklch(55.54% 0.133 130.8)
XYZxyz(12.2017, 18.1066, 4.3651)
Luminance0.1811 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578222 #4D2282
analogous
#827D22 #578222 #278222
triadic
#578222 #225782 #822257
tetradic
#578222 #22827D #4D2282 #822227
square
#578222 #22827D #4D2282 #822227
split-complementary
#578222 #222782 #7D2282
monochromatic
#162109 #375115 #578222 #77B32F #96D14E

Accessibility & contrast

On white

4.54
#578222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#578222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #578222
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##578222#FFFFFF#000000##000000
##5782221.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887811
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#597C6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #578222;
/* rgb */ color: rgb(87, 130, 34);
/* oklch */ color: oklch(55.5% 0.133 130.8);
Tailwind
colors: {
  custom: {
    50: '#8aa664',
    500: '#578222',
    950: '#000000',
  },
}
SCSS
$custom: #578222;
$custom-light: #8aa664;
$custom-dark: #000000;
JSON
{
  "hex": "#578222",
  "rgb": {
    "r": 87,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 86.875,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55539,
    "c": 0.13278,
    "h": 130.8
  },
  "luminance": 0.18107
}

Semantic roles & 50–950 ramp

primary
#578222
secondary
#7A4CB4
accent
#46E28C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #578222

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

Preview Lab → · Contrast checker → · Palette generator →

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