#578C18#578C18

#578C18 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.1% C 0.151 H 132.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#578C18
RGBrgb(87, 140, 24)
HSLhsl(87, 71%, 32%)
HSVhsv(87, 83%, 55%)
CMYKcmyk(37.9%, 0%, 82.9%, 45.1%)
CIE-LABlab(52.78, -35.77, 51.13)
CIE-LCHlch(52.78, 62.40, 124.98°)
OKLaboklab(58.1% -0.1014 0.1124)
OKLCHoklch(58.1% 0.151 132.1)
XYZxyz(13.4733, 20.8478, 4.1781)
Luminance0.2085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578C18 #4D188C
analogous
#8C8718 #578C18 #1D8C18
triadic
#578C18 #18578C #8C1857
tetradic
#578C18 #188C87 #4D188C #8C181D
square
#578C18 #188C87 #4D188C #8C181D
split-complementary
#578C18 #181D8C #87188C
monochromatic
#162406 #37580F #578C18 #77C021 #96DE40

Accessibility & contrast

On white

4.06
#578C18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#578C18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #578C18
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##578C18#FFFFFF#000000##000000
##578C181.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#8B7D26
Tritanopia (blue-blind)
#588677
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #578c18;
/* rgb */ color: rgb(87, 140, 24);
/* oklch */ color: oklch(58.1% 0.151 132.1);
Tailwind
colors: {
  custom: {
    50: '#8bae61',
    500: '#578c18',
    950: '#000000',
  },
}
SCSS
$custom: #578c18;
$custom-light: #8bae61;
$custom-dark: #000000;
JSON
{
  "hex": "#578c18",
  "rgb": {
    "r": 87,
    "g": 140,
    "b": 24
  },
  "hsl": {
    "h": 87.414,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58098,
    "c": 0.15137,
    "h": 132.1
  },
  "luminance": 0.20848
}

Semantic roles & 50–950 ramp

primary
#578C18
secondary
#7A41BF
accent
#3AED8C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #578C18

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

Preview Lab → · Contrast checker → · Palette generator →

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