#578B1F#578B1F

#578B1F is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.9% C 0.146 H 132.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#578B1F
RGBrgb(87, 139, 31)
HSLhsl(89, 64%, 33%)
HSVhsv(89, 78%, 55%)
CMYKcmyk(37.4%, 0%, 77.7%, 45.5%)
CIE-LABlab(52.50, -34.95, 48.63)
CIE-LCHlch(52.50, 59.88, 125.71°)
OKLaboklab(57.88% -0.0987 0.1083)
OKLCHoklch(57.88% 0.147 132.4)
XYZxyz(13.4103, 20.5898, 4.5637)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578B1F #531F8B
analogous
#8B891F #578B1F #218B1F
triadic
#578B1F #1F578B #8B1F57
tetradic
#578B1F #1F8B89 #531F8B #8B1F21
square
#578B1F #1F8B89 #531F8B #8B1F21
split-complementary
#578B1F #1F218B #891F8B
monochromatic
#182709 #385914 #578B1F #76BD2A #95D74D

Accessibility & contrast

On white

4.10
#578B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#578B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #578B1F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##578B1F#FFFFFF#000000##000000
##578B1F1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918005
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#588577
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #578b1f;
/* rgb */ color: rgb(87, 139, 31);
/* oklch */ color: oklch(57.9% 0.146 132.4);
Tailwind
colors: {
  custom: {
    50: '#8bad63',
    500: '#578b1f',
    950: '#000000',
  },
}
SCSS
$custom: #578b1f;
$custom-light: #8bad63;
$custom-dark: #000000;
JSON
{
  "hex": "#578b1f",
  "rgb": {
    "r": 87,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 88.889,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57877,
    "c": 0.1465,
    "h": 132.4
  },
  "luminance": 0.2059
}

Semantic roles & 50–950 ramp

primary
#578B1F
secondary
#814CBA
accent
#41E791
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #578B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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