#57871B#57871B

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

Color values

HEX#57871B
RGBrgb(87, 135, 27)
HSLhsl(87, 67%, 32%)
HSVhsv(87, 80%, 53%)
CMYKcmyk(35.6%, 0%, 80%, 47.1%)
CIE-LABlab(51.19, -33.38, 48.73)
CIE-LCHlch(51.19, 59.07, 124.41°)
OKLaboklab(56.8% -0.0947 0.1078)
OKLCHoklch(56.8% 0.144 131.3)
XYZxyz(12.7922, 19.4328, 4.1136)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57871B #4B1B87
analogous
#87811B #57871B #21871B
triadic
#57871B #1B5787 #871B57
tetradic
#57871B #1B8781 #4B1B87 #871B21
square
#57871B #1B8781 #4B1B87 #871B21
split-complementary
#57871B #1B2187 #811B87
monochromatic
#152107 #365411 #57871B #78BA25 #97D943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57871B#FFFFFF#000000##000000
##57871B1.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)
#877927
Tritanopia (blue-blind)
#598173
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #57871b;
/* rgb */ color: rgb(87, 135, 27);
/* oklch */ color: oklch(56.8% 0.144 131.3);
Tailwind
colors: {
  custom: {
    50: '#8baa61',
    500: '#57871b',
    950: '#000000',
  },
}
SCSS
$custom: #57871b;
$custom-light: #8baa61;
$custom-dark: #000000;
JSON
{
  "hex": "#57871b",
  "rgb": {
    "r": 87,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 86.667,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56801,
    "c": 0.14354,
    "h": 131.3
  },
  "luminance": 0.19433
}

Semantic roles & 50–950 ramp

primary
#57871B
secondary
#7844BA
accent
#3EEA8A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #57871B

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

Preview Lab → · Contrast checker → · Palette generator →

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