#578D1B#578D1B

#578D1B is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.4% C 0.151 H 132.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#578D1B
RGBrgb(87, 141, 27)
HSLhsl(88, 68%, 33%)
HSVhsv(88, 81%, 55%)
CMYKcmyk(38.3%, 0%, 80.9%, 44.7%)
CIE-LABlab(53.12, -36.06, 50.53)
CIE-LCHlch(53.12, 62.08, 125.51°)
OKLaboklab(58.38% -0.102 0.1116)
OKLCHoklch(58.38% 0.151 132.4)
XYZxyz(13.6530, 21.1545, 4.4006)
Luminance0.2115 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578D1B #511B8D
analogous
#8D8A1B #578D1B #1E8D1B
triadic
#578D1B #1B578D #8D1B57
tetradic
#578D1B #1B8D8A #511B8D #8D1B1E
square
#578D1B #1B8D8A #511B8D #8D1B1E
split-complementary
#578D1B #1B1E8D #8A1B8D
monochromatic
#182607 #375A11 #578D1B #77C025 #95DC47

Accessibility & contrast

On white

4.01
#578D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#578D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #578D1B
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##578D1B#FFFFFF#000000##000000
##578D1B1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#8C7D28
Tritanopia (blue-blind)
#588778
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #578d1b;
/* rgb */ color: rgb(87, 141, 27);
/* oklch */ color: oklch(58.4% 0.151 132.4);
Tailwind
colors: {
  custom: {
    50: '#8baf62',
    500: '#578d1b',
    950: '#000000',
  },
}
SCSS
$custom: #578d1b;
$custom-light: #8baf62;
$custom-dark: #000000;
JSON
{
  "hex": "#578d1b",
  "rgb": {
    "r": 87,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 88.421,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58377,
    "c": 0.15119,
    "h": 132.4
  },
  "luminance": 0.21155
}

Semantic roles & 50–950 ramp

primary
#578D1B
secondary
#7F46BD
accent
#3DEB8F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #578D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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