#578020#578020

#578020 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.0% C 0.131 H 130.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#578020
RGBrgb(87, 128, 32)
HSLhsl(86, 60%, 31%)
HSVhsv(86, 75%, 50%)
CMYKcmyk(32%, 0%, 75%, 49.8%)
CIE-LABlab(48.97, -29.83, 44.82)
CIE-LCHlch(48.97, 53.84, 123.65°)
OKLaboklab(55% -0.0847 0.1004)
OKLCHoklch(55% 0.131 130.2)
XYZxyz(11.9103, 17.5685, 4.1298)
Luminance0.1757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578020 #492080
analogous
#807920 #578020 #278020
triadic
#578020 #205780 #802057
tetradic
#578020 #208079 #492080 #802027
square
#578020 #208079 #492080 #802027
split-complementary
#578020 #202780 #792080
monochromatic
#141E08 #364F14 #578020 #78B12C #97D149

Accessibility & contrast

On white

4.65
#578020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#578020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #578020
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##578020#FFFFFF#000000##FFFFFF
##5780201.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760E
Deuteranopia (green-blind)
#807329
Tritanopia (blue-blind)
#597A6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #578020;
/* rgb */ color: rgb(87, 128, 32);
/* oklch */ color: oklch(55.0% 0.131 130.2);
Tailwind
colors: {
  custom: {
    50: '#8aa562',
    500: '#578020',
    950: '#000000',
  },
}
SCSS
$custom: #578020;
$custom-light: #8aa562;
$custom-dark: #000000;
JSON
{
  "hex": "#578020",
  "rgb": {
    "r": 87,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 85.625,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55,
    "c": 0.13141,
    "h": 130.2
  },
  "luminance": 0.17569
}

Semantic roles & 50–950 ramp

primary
#578020
secondary
#7649B3
accent
#45E388
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #578020

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

Preview Lab → · Contrast checker → · Palette generator →

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