#578F17#578F17

#578F17 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.9% C 0.156 H 132.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#578F17
RGBrgb(87, 143, 23)
HSLhsl(88, 72%, 33%)
HSVhsv(88, 84%, 56%)
CMYKcmyk(39.2%, 0%, 83.9%, 43.9%)
CIE-LABlab(53.74, -37.14, 52.28)
CIE-LCHlch(53.74, 64.13, 125.39°)
OKLaboklab(58.88% -0.1051 0.1147)
OKLCHoklch(58.88% 0.156 132.5)
XYZxyz(13.9074, 21.7324, 4.2724)
Luminance0.2173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578F17 #4F178F
analogous
#8F8B17 #578F17 #1B8F17
triadic
#578F17 #17578F #8F1757
tetradic
#578F17 #178F8B #4F178F #8F171B
square
#578F17 #178F8B #4F178F #8F171B
split-complementary
#578F17 #171B8F #8B178F
monochromatic
#172606 #375A0F #578F17 #77C41F #96E040

Accessibility & contrast

On white

3.93
#578F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#578F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #578F17
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##578F17#FFFFFF#000000##000000
##578F171.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8E7F26
Tritanopia (blue-blind)
#58897A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #578f17;
/* rgb */ color: rgb(87, 143, 23);
/* oklch */ color: oklch(58.9% 0.156 132.5);
Tailwind
colors: {
  custom: {
    50: '#8cb061',
    500: '#578f17',
    950: '#000000',
  },
}
SCSS
$custom: #578f17;
$custom-light: #8cb061;
$custom-dark: #000000;
JSON
{
  "hex": "#578f17",
  "rgb": {
    "r": 87,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 88,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58881,
    "c": 0.15556,
    "h": 132.5
  },
  "luminance": 0.21733
}

Semantic roles & 50–950 ramp

primary
#578F17
secondary
#7D41C1
accent
#39EF8E
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0D1005
muted
#7D7F7A

Preview Lab

Preview with #578F17

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

Preview Lab → · Contrast checker → · Palette generator →

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