#57871C#57871C

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

Color values

HEX#57871C
RGBrgb(87, 135, 28)
HSLhsl(87, 66%, 32%)
HSVhsv(87, 79%, 53%)
CMYKcmyk(35.6%, 0%, 79.3%, 47.1%)
CIE-LABlab(51.20, -33.32, 48.41)
CIE-LCHlch(51.20, 58.77, 124.54°)
OKLaboklab(56.81% -0.0945 0.1073)
OKLCHoklch(56.81% 0.143 131.4)
XYZxyz(12.8039, 19.4375, 4.1756)
Luminance0.1944 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57871C #4C1C87
analogous
#87821C #57871C #22871C
triadic
#57871C #1C5787 #871C57
tetradic
#57871C #1C8782 #4C1C87 #871C22
square
#57871C #1C8782 #4C1C87 #871C22
split-complementary
#57871C #1C2287 #821C87
monochromatic
#162207 #365411 #57871C #78BA27 #96D845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57871C#FFFFFF#000000##000000
##57871C1.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)
#8D7C01
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#598173
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #57871c;
/* rgb */ color: rgb(87, 135, 28);
/* oklch */ color: oklch(56.8% 0.143 131.4);
Tailwind
colors: {
  custom: {
    50: '#8baa61',
    500: '#57871c',
    950: '#000000',
  },
}
SCSS
$custom: #57871c;
$custom-light: #8baa61;
$custom-dark: #000000;
JSON
{
  "hex": "#57871c",
  "rgb": {
    "r": 87,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 86.916,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56808,
    "c": 0.143,
    "h": 131.4
  },
  "luminance": 0.19438
}

Semantic roles & 50–950 ramp

primary
#57871C
secondary
#7945BA
accent
#3FE98B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #57871C

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

Preview Lab → · Contrast checker → · Palette generator →

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