#57841C#57841C

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

Color values

HEX#57841C
RGBrgb(87, 132, 28)
HSLhsl(86, 65%, 31%)
HSVhsv(86, 79%, 52%)
CMYKcmyk(34.1%, 0%, 78.8%, 48.2%)
CIE-LABlab(50.23, -31.95, 47.49)
CIE-LCHlch(50.23, 57.24, 123.93°)
OKLaboklab(56.02% -0.0908 0.1054)
OKLCHoklch(56.02% 0.139 130.7)
XYZxyz(12.3913, 18.6122, 4.0380)
Luminance0.1861 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57841C #491C84
analogous
#847D1C #57841C #23841C
triadic
#57841C #1C5784 #841C57
tetradic
#57841C #1C847D #491C84 #841C23
square
#57841C #1C847D #491C84 #841C23
split-complementary
#57841C #1C2384 #7D1C84
monochromatic
#141F07 #365211 #57841C #78B627 #97D743

Accessibility & contrast

On white

4.45
#57841C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#57841C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #57841C
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57841C#FFFFFF#000000##000000
##57841C1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A02
Deuteranopia (green-blind)
#847627
Tritanopia (blue-blind)
#597E70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #57841c;
/* rgb */ color: rgb(87, 132, 28);
/* oklch */ color: oklch(56.0% 0.139 130.7);
Tailwind
colors: {
  custom: {
    50: '#8ba861',
    500: '#57841c',
    950: '#000000',
  },
}
SCSS
$custom: #57841c;
$custom-light: #8ba861;
$custom-dark: #000000;
JSON
{
  "hex": "#57841c",
  "rgb": {
    "r": 87,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 85.962,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5602,
    "c": 0.13911,
    "h": 130.7
  },
  "luminance": 0.18613
}

Semantic roles & 50–950 ramp

primary
#57841C
secondary
#7645B7
accent
#40E889
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #57841C

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

Preview Lab → · Contrast checker → · Palette generator →

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