#57871D#57871D

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

Color values

HEX#57871D
RGBrgb(87, 135, 29)
HSLhsl(87, 65%, 32%)
HSVhsv(87, 79%, 53%)
CMYKcmyk(35.6%, 0%, 78.5%, 47.1%)
CIE-LABlab(51.20, -33.26, 48.08)
CIE-LCHlch(51.20, 58.46, 124.68°)
OKLaboklab(56.81% -0.0943 0.1068)
OKLCHoklch(56.81% 0.142 131.4)
XYZxyz(12.8161, 19.4424, 4.2397)
Luminance0.1944 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57871D #4D1D87
analogous
#87821D #57871D #22871D
triadic
#57871D #1D5787 #871D57
tetradic
#57871D #1D8782 #4D1D87 #871D22
square
#57871D #1D8782 #4D1D87 #871D22
split-complementary
#57871D #1D2287 #821D87
monochromatic
#162207 #375512 #57871D #77B928 #96D747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57871D#FFFFFF#000000##000000
##57871D1.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)
#8D7C03
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#598173
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #57871d;
/* rgb */ color: rgb(87, 135, 29);
/* oklch */ color: oklch(56.8% 0.142 131.4);
Tailwind
colors: {
  custom: {
    50: '#8baa62',
    500: '#57871d',
    950: '#000000',
  },
}
SCSS
$custom: #57871d;
$custom-light: #8baa62;
$custom-dark: #000000;
JSON
{
  "hex": "#57871d",
  "rgb": {
    "r": 87,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 87.17,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56814,
    "c": 0.14245,
    "h": 131.4
  },
  "luminance": 0.19443
}

Semantic roles & 50–950 ramp

primary
#57871D
secondary
#7A46B9
accent
#40E88C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #57871D

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

Preview Lab → · Contrast checker → · Palette generator →

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