#57871E#57871E

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

Color values

HEX#57871E
RGBrgb(87, 135, 30)
HSLhsl(87, 64%, 32%)
HSVhsv(87, 78%, 53%)
CMYKcmyk(35.6%, 0%, 77.8%, 47.1%)
CIE-LABlab(51.21, -33.20, 47.73)
CIE-LCHlch(51.21, 58.15, 124.82°)
OKLaboklab(56.82% -0.094 0.1062)
OKLCHoklch(56.82% 0.142 131.5)
XYZxyz(12.8287, 19.4474, 4.3058)
Luminance0.1945 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57871E #4E1E87
analogous
#87831E #57871E #22871E
triadic
#57871E #1E5787 #871E57
tetradic
#57871E #1E8783 #4E1E87 #871E22
square
#57871E #1E8783 #4E1E87 #871E22
split-complementary
#57871E #1E2287 #831E87
monochromatic
#162308 #375513 #57871E #77B929 #96D749

Accessibility & contrast

On white

4.29
#57871E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##57871E#FFFFFF#000000##000000
##57871E1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #57871e;
/* rgb */ color: rgb(87, 135, 30);
/* oklch */ color: oklch(56.8% 0.142 131.5);
Tailwind
colors: {
  custom: {
    50: '#8baa62',
    500: '#57871e',
    950: '#000000',
  },
}
SCSS
$custom: #57871e;
$custom-light: #8baa62;
$custom-dark: #000000;
JSON
{
  "hex": "#57871e",
  "rgb": {
    "r": 87,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 87.429,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5682,
    "c": 0.14188,
    "h": 131.5
  },
  "luminance": 0.19448
}

Semantic roles & 50–950 ramp

primary
#57871E
secondary
#7C48B9
accent
#41E78D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #57871E

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

Preview Lab → · Contrast checker → · Palette generator →

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