#578A1F#578A1F

#578A1F is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.6% C 0.145 H 132.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#578A1F
RGBrgb(87, 138, 31)
HSLhsl(89, 63%, 33%)
HSVhsv(89, 78%, 54%)
CMYKcmyk(37%, 0%, 77.5%, 45.9%)
CIE-LABlab(52.18, -34.50, 48.32)
CIE-LCHlch(52.18, 59.37, 125.53°)
OKLaboklab(57.61% -0.0975 0.1076)
OKLCHoklch(57.61% 0.145 132.2)
XYZxyz(13.2661, 20.3016, 4.5157)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578A1F #521F8A
analogous
#8A871F #578A1F #218A1F
triadic
#578A1F #1F578A #8A1F57
tetradic
#578A1F #1F8A87 #521F8A #8A1F21
square
#578A1F #1F8A87 #521F8A #8A1F21
split-complementary
#578A1F #1F218A #871F8A
monochromatic
#182609 #375814 #578A1F #77BC2A #95D74C

Accessibility & contrast

On white

4.15
#578A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#578A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #578A1F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##578A1F#FFFFFF#000000##000000
##578A1F1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F06
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#588476
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #578a1f;
/* rgb */ color: rgb(87, 138, 31);
/* oklch */ color: oklch(57.6% 0.145 132.2);
Tailwind
colors: {
  custom: {
    50: '#8bac63',
    500: '#578a1f',
    950: '#000000',
  },
}
SCSS
$custom: #578a1f;
$custom-light: #8bac63;
$custom-dark: #000000;
JSON
{
  "hex": "#578a1f",
  "rgb": {
    "r": 87,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 88.598,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57614,
    "c": 0.1452,
    "h": 132.2
  },
  "luminance": 0.20302
}

Semantic roles & 50–950 ramp

primary
#578A1F
secondary
#804BBA
accent
#41E690
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #578A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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