#57841F#57841F

#57841F is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.0% C 0.137 H 131.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#57841F
RGBrgb(87, 132, 31)
HSLhsl(87, 62%, 32%)
HSVhsv(87, 77%, 52%)
CMYKcmyk(34.1%, 0%, 76.5%, 48.2%)
CIE-LABlab(50.25, -31.77, 46.45)
CIE-LCHlch(50.25, 56.27, 124.37°)
OKLaboklab(56.04% -0.0901 0.1037)
OKLCHoklch(56.04% 0.137 131)
XYZxyz(12.4290, 18.6273, 4.2366)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57841F #4C1F84
analogous
#847F1F #57841F #24841F
triadic
#57841F #1F5784 #841F57
tetradic
#57841F #1F847F #4C1F84 #841F24
square
#57841F #1F847F #4C1F84 #841F24
split-complementary
#57841F #1F2484 #7F1F84
monochromatic
#162108 #365213 #57841F #78B62B #96D449

Accessibility & contrast

On white

4.44
#57841F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#57841F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #57841F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57841F#FFFFFF#000000##000000
##57841F1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0A
Deuteranopia (green-blind)
#847629
Tritanopia (blue-blind)
#597E71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #57841f;
/* rgb */ color: rgb(87, 132, 31);
/* oklch */ color: oklch(56.0% 0.137 131.0);
Tailwind
colors: {
  custom: {
    50: '#8aa862',
    500: '#57841f',
    950: '#000000',
  },
}
SCSS
$custom: #57841f;
$custom-light: #8aa862;
$custom-dark: #000000;
JSON
{
  "hex": "#57841f",
  "rgb": {
    "r": 87,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 86.733,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56041,
    "c": 0.13735,
    "h": 131
  },
  "luminance": 0.18628
}

Semantic roles & 50–950 ramp

primary
#57841F
secondary
#7948B7
accent
#43E58B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #57841F

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

Preview Lab → · Contrast checker → · Palette generator →

#57841F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva