#578B18#578B18

#578B18 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.8% C 0.150 H 131.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#578B18
RGBrgb(87, 139, 24)
HSLhsl(87, 71%, 32%)
HSVhsv(87, 83%, 55%)
CMYKcmyk(37.4%, 0%, 82.7%, 45.5%)
CIE-LABlab(52.46, -35.33, 50.84)
CIE-LCHlch(52.46, 61.91, 124.80°)
OKLaboklab(57.84% -0.1002 0.1118)
OKLCHoklch(57.84% 0.15 131.9)
XYZxyz(13.3278, 20.5569, 4.1296)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578B18 #4C188B
analogous
#8B8518 #578B18 #1E8B18
triadic
#578B18 #18578B #8B1857
tetradic
#578B18 #188B85 #4C188B #8B181E
square
#578B18 #188B85 #4C188B #8B181E
split-complementary
#578B18 #181E8B #85188B
monochromatic
#162306 #36570F #578B18 #78BF21 #96DE3F

Accessibility & contrast

On white

4.11
#578B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#578B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #578B18
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##578B18#FFFFFF#000000##000000
##578B181.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#8A7C25
Tritanopia (blue-blind)
#588576
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #578b18;
/* rgb */ color: rgb(87, 139, 24);
/* oklch */ color: oklch(57.8% 0.150 131.9);
Tailwind
colors: {
  custom: {
    50: '#8bad60',
    500: '#578b18',
    950: '#000000',
  },
}
SCSS
$custom: #578b18;
$custom-light: #8bad60;
$custom-dark: #000000;
JSON
{
  "hex": "#578b18",
  "rgb": {
    "r": 87,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 87.13,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57835,
    "c": 0.15012,
    "h": 131.9
  },
  "luminance": 0.20557
}

Semantic roles & 50–950 ramp

primary
#578B18
secondary
#7940BE
accent
#3AED8B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #578B18

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

Preview Lab → · Contrast checker → · Palette generator →

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