#57871A#57871A

#57871A is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.8% C 0.144 H 131.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#57871A
RGBrgb(87, 135, 26)
HSLhsl(86, 68%, 32%)
HSVhsv(86, 81%, 53%)
CMYKcmyk(35.6%, 0%, 80.7%, 47.1%)
CIE-LABlab(51.18, -33.43, 49.05)
CIE-LCHlch(51.18, 59.36, 124.27°)
OKLaboklab(56.79% -0.0949 0.1084)
OKLCHoklch(56.79% 0.144 131.2)
XYZxyz(12.7808, 19.4283, 4.0537)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57871A #4A1A87
analogous
#87811A #57871A #21871A
triadic
#57871A #1A5787 #871A57
tetradic
#57871A #1A8781 #4A1A87 #871A21
square
#57871A #1A8781 #4A1A87 #871A21
split-complementary
#57871A #1A2187 #811A87
monochromatic
#152006 #365410 #57871A #78BA24 #97DA41

Accessibility & contrast

On white

4.30
#57871A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#57871A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #57871A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57871A#FFFFFF#000000##000000
##57871A1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#598173
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #57871a;
/* rgb */ color: rgb(87, 135, 26);
/* oklch */ color: oklch(56.8% 0.144 131.2);
Tailwind
colors: {
  custom: {
    50: '#8baa61',
    500: '#57871a',
    950: '#000000',
  },
}
SCSS
$custom: #57871a;
$custom-light: #8baa61;
$custom-dark: #000000;
JSON
{
  "hex": "#57871a",
  "rgb": {
    "r": 87,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 86.422,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56795,
    "c": 0.14406,
    "h": 131.2
  },
  "luminance": 0.19429
}

Semantic roles & 50–950 ramp

primary
#57871A
secondary
#7742BA
accent
#3DEB8A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #57871A

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

Preview Lab → · Contrast checker → · Palette generator →

#57871A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva