#578F18#578F18

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

Color values

HEX#578F18
RGBrgb(87, 143, 24)
HSLhsl(88, 71%, 33%)
HSVhsv(88, 83%, 56%)
CMYKcmyk(39.2%, 0%, 83.2%, 43.9%)
CIE-LABlab(53.75, -37.09, 52.01)
CIE-LCHlch(53.75, 63.88, 125.50°)
OKLaboklab(58.89% -0.1049 0.1143)
OKLCHoklch(58.89% 0.155 132.6)
XYZxyz(13.9176, 21.7365, 4.3262)
Luminance0.2174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578F18 #50188F
analogous
#8F8B18 #578F18 #1C8F18
triadic
#578F18 #18578F #8F1857
tetradic
#578F18 #188F8B #50188F #8F181C
square
#578F18 #188F8B #50188F #8F181C
split-complementary
#578F18 #181C8F #8B188F
monochromatic
#172606 #375B0F #578F18 #77C321 #95DF42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##578F18#FFFFFF#000000##000000
##578F181.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: #578f18;
/* rgb */ color: rgb(87, 143, 24);
/* oklch */ color: oklch(58.9% 0.155 132.6);
Tailwind
colors: {
  custom: {
    50: '#8cb061',
    500: '#578f18',
    950: '#000000',
  },
}
SCSS
$custom: #578f18;
$custom-light: #8cb061;
$custom-dark: #000000;
JSON
{
  "hex": "#578f18",
  "rgb": {
    "r": 87,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 88.235,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58886,
    "c": 0.15512,
    "h": 132.6
  },
  "luminance": 0.21737
}

Semantic roles & 50–950 ramp

primary
#578F18
secondary
#7E43C0
accent
#3AEE8F
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0D1005
muted
#7D7F7A

Preview Lab

Preview with #578F18

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

Preview Lab → · Contrast checker → · Palette generator →

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