#578E1B#578E1B

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

Color values

HEX#578E1B
RGBrgb(87, 142, 27)
HSLhsl(89, 68%, 33%)
HSVhsv(89, 81%, 56%)
CMYKcmyk(38.7%, 0%, 81%, 44.3%)
CIE-LABlab(53.44, -36.51, 50.83)
CIE-LCHlch(53.44, 62.58, 125.68°)
OKLaboklab(58.64% -0.1032 0.1123)
OKLCHoklch(58.64% 0.152 132.6)
XYZxyz(13.8011, 21.4507, 4.4499)
Luminance0.2145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578E1B #521B8E
analogous
#8E8B1B #578E1B #1D8E1B
triadic
#578E1B #1B578E #8E1B57
tetradic
#578E1B #1B8E8B #521B8E #8E1B1D
square
#578E1B #1B8E8B #521B8E #8E1B1D
split-complementary
#578E1B #1B1D8E #8B1B8E
monochromatic
#182707 #375B11 #578E1B #77C125 #95DC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##578E1B#FFFFFF#000000##000000
##578E1B1.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)
#948200
Deuteranopia (green-blind)
#8D7E28
Tritanopia (blue-blind)
#588879
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #578e1b;
/* rgb */ color: rgb(87, 142, 27);
/* oklch */ color: oklch(58.6% 0.152 132.6);
Tailwind
colors: {
  custom: {
    50: '#8caf62',
    500: '#578e1b',
    950: '#000000',
  },
}
SCSS
$custom: #578e1b;
$custom-light: #8caf62;
$custom-dark: #000000;
JSON
{
  "hex": "#578e1b",
  "rgb": {
    "r": 87,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 88.696,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58639,
    "c": 0.15246,
    "h": 132.6
  },
  "luminance": 0.21451
}

Semantic roles & 50–950 ramp

primary
#578E1B
secondary
#8047BE
accent
#3DEB90
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #578E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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