#578E1F#578E1F

#578E1F is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.7% C 0.150 H 132.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#578E1F
RGBrgb(87, 142, 31)
HSLhsl(90, 64%, 34%)
HSVhsv(90, 78%, 56%)
CMYKcmyk(38.7%, 0%, 78.2%, 44.3%)
CIE-LABlab(53.46, -36.28, 49.55)
CIE-LCHlch(53.46, 61.41, 126.21°)
OKLaboklab(58.66% -0.1023 0.1102)
OKLCHoklch(58.66% 0.15 132.9)
XYZxyz(13.8506, 21.4705, 4.7105)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578E1F #561F8E
analogous
#8E8E1F #578E1F #1F8E1F
triadic
#578E1F #1F578E #8E1F57
tetradic
#578E1F #1F8E8E #561F8E #8E1F1F
square
#578E1F #1F8E8E #561F8E #8E1F1F
split-complementary
#578E1F #1F1F8E #8E1F8E
monochromatic
#192A09 #385C14 #578E1F #76C02A #94D94F

Accessibility & contrast

On white

3.97
#578E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#578E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #578E1F
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##578E1F#FFFFFF#000000##000000
##578E1F1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948203
Deuteranopia (green-blind)
#8D7E2B
Tritanopia (blue-blind)
#588879
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #578e1f;
/* rgb */ color: rgb(87, 142, 31);
/* oklch */ color: oklch(58.7% 0.150 132.9);
Tailwind
colors: {
  custom: {
    50: '#8baf64',
    500: '#578e1f',
    950: '#000000',
  },
}
SCSS
$custom: #578e1f;
$custom-light: #8baf64;
$custom-dark: #000000;
JSON
{
  "hex": "#578e1f",
  "rgb": {
    "r": 87,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 89.73,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58664,
    "c": 0.15036,
    "h": 132.9
  },
  "luminance": 0.21471
}

Semantic roles & 50–950 ramp

primary
#578E1F
secondary
#844DBB
accent
#41E793
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #578E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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