#57841B#57841B

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

Color values

HEX#57841B
RGBrgb(87, 132, 27)
HSLhsl(86, 66%, 31%)
HSVhsv(86, 80%, 52%)
CMYKcmyk(34.1%, 0%, 79.5%, 48.2%)
CIE-LABlab(50.22, -32.00, 47.83)
CIE-LCHlch(50.22, 57.55, 123.79°)
OKLaboklab(56.01% -0.091 0.1059)
OKLCHoklch(56.01% 0.14 130.7)
XYZxyz(12.3795, 18.6075, 3.9760)
Luminance0.1861 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57841B #481B84
analogous
#847C1B #57841B #22841B
triadic
#57841B #1B5784 #841B57
tetradic
#57841B #1B847C #481B84 #841B22
square
#57841B #1B847C #481B84 #841B22
split-complementary
#57841B #1B2284 #7C1B84
monochromatic
#141E06 #365111 #57841B #78B725 #97D841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57841B#FFFFFF#000000##000000
##57841B1.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)
#8A7A00
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#597E70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #57841b;
/* rgb */ color: rgb(87, 132, 27);
/* oklch */ color: oklch(56.0% 0.140 130.7);
Tailwind
colors: {
  custom: {
    50: '#8ba861',
    500: '#57841b',
    950: '#000000',
  },
}
SCSS
$custom: #57841b;
$custom-light: #8ba861;
$custom-dark: #000000;
JSON
{
  "hex": "#57841b",
  "rgb": {
    "r": 87,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 85.714,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56014,
    "c": 0.13966,
    "h": 130.7
  },
  "luminance": 0.18608
}

Semantic roles & 50–950 ramp

primary
#57841B
secondary
#7543B7
accent
#3FE988
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #57841B

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

Preview Lab → · Contrast checker → · Palette generator →

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