#578D18#578D18

#578D18 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.4% C 0.153 H 132.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#578D18
RGBrgb(87, 141, 24)
HSLhsl(88, 71%, 32%)
HSVhsv(88, 83%, 55%)
CMYKcmyk(38.3%, 0%, 83%, 44.7%)
CIE-LABlab(53.10, -36.21, 51.42)
CIE-LCHlch(53.10, 62.90, 125.15°)
OKLaboklab(58.36% -0.1026 0.113)
OKLCHoklch(58.36% 0.153 132.2)
XYZxyz(13.6201, 21.1413, 4.2270)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578D18 #4E188D
analogous
#8D8818 #578D18 #1D8D18
triadic
#578D18 #18578D #8D1857
tetradic
#578D18 #188D88 #4E188D #8D181D
square
#578D18 #188D88 #4E188D #8D181D
split-complementary
#578D18 #181D8D #88188D
monochromatic
#162406 #37590F #578D18 #77C121 #96DF41

Accessibility & contrast

On white

4.02
#578D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#578D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #578D18
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##578D18#FFFFFF#000000##000000
##578D181.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8C7D26
Tritanopia (blue-blind)
#588778
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #578d18;
/* rgb */ color: rgb(87, 141, 24);
/* oklch */ color: oklch(58.4% 0.153 132.2);
Tailwind
colors: {
  custom: {
    50: '#8caf61',
    500: '#578d18',
    950: '#000000',
  },
}
SCSS
$custom: #578d18;
$custom-light: #8caf61;
$custom-dark: #000000;
JSON
{
  "hex": "#578d18",
  "rgb": {
    "r": 87,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 87.692,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5836,
    "c": 0.15262,
    "h": 132.2
  },
  "luminance": 0.21142
}

Semantic roles & 50–950 ramp

primary
#578D18
secondary
#7C42BF
accent
#3AEE8D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #578D18

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

Preview Lab → · Contrast checker → · Palette generator →

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