#578522#578522

#578522 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.3% C 0.137 H 131.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#578522
RGBrgb(87, 133, 34)
HSLhsl(88, 59%, 33%)
HSVhsv(88, 74%, 52%)
CMYKcmyk(34.6%, 0%, 74.4%, 47.8%)
CIE-LABlab(50.59, -32.03, 45.66)
CIE-LCHlch(50.59, 55.78, 125.05°)
OKLaboklab(56.33% -0.0905 0.1025)
OKLCHoklch(56.33% 0.137 131.4)
XYZxyz(12.6066, 18.9163, 4.5001)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578522 #502285
analogous
#858122 #578522 #258522
triadic
#578522 #225785 #852257
tetradic
#578522 #228581 #502285 #852225
square
#578522 #228581 #502285 #852225
split-complementary
#578522 #222585 #812285
monochromatic
#172409 #375416 #578522 #77B62E #95D24F

Accessibility & contrast

On white

4.39
#578522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#578522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #578522
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##578522#FFFFFF#000000##000000
##5785221.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B10
Deuteranopia (green-blind)
#85772B
Tritanopia (blue-blind)
#597F72
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #578522;
/* rgb */ color: rgb(87, 133, 34);
/* oklch */ color: oklch(56.3% 0.137 131.4);
Tailwind
colors: {
  custom: {
    50: '#8aa964',
    500: '#578522',
    950: '#000000',
  },
}
SCSS
$custom: #578522;
$custom-light: #8aa964;
$custom-dark: #000000;
JSON
{
  "hex": "#578522",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 87.879,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56325,
    "c": 0.13679,
    "h": 131.4
  },
  "luminance": 0.18917
}

Semantic roles & 50–950 ramp

primary
#578522
secondary
#7E4DB6
accent
#45E28E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #578522

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

Preview Lab → · Contrast checker → · Palette generator →

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