#57811A#57811A

#57811A is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.2% C 0.136 H 129.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#57811A
RGBrgb(87, 129, 26)
HSLhsl(84, 66%, 30%)
HSVhsv(84, 80%, 51%)
CMYKcmyk(32.6%, 0%, 79.8%, 49.4%)
CIE-LABlab(49.25, -30.66, 47.25)
CIE-LCHlch(49.25, 56.33, 122.98°)
OKLaboklab(55.22% -0.0875 0.1046)
OKLCHoklch(55.22% 0.136 129.9)
XYZxyz(11.9671, 17.8010, 3.7825)
Luminance0.1780 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57811A #441A81
analogous
#81771A #57811A #23811A
triadic
#57811A #1A5781 #811A57
tetradic
#57811A #1A8177 #441A81 #811A23
square
#57811A #1A8177 #441A81 #811A23
split-complementary
#57811A #1A2381 #771A81
monochromatic
#121B05 #354E10 #57811A #79B424 #99D83D

Accessibility & contrast

On white

4.61
#57811A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#57811A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #57811A
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57811A#FFFFFF#000000##FFFFFF
##57811A1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#827425
Tritanopia (blue-blind)
#597B6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #57811a;
/* rgb */ color: rgb(87, 129, 26);
/* oklch */ color: oklch(55.2% 0.136 129.9);
Tailwind
colors: {
  custom: {
    50: '#8aa660',
    500: '#57811a',
    950: '#000000',
  },
}
SCSS
$custom: #57811a;
$custom-light: #8aa660;
$custom-dark: #000000;
JSON
{
  "hex": "#57811a",
  "rgb": {
    "r": 87,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 84.466,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.55221,
    "c": 0.13631,
    "h": 129.9
  },
  "luminance": 0.17801
}

Semantic roles & 50–950 ramp

primary
#57811A
secondary
#7142B5
accent
#3EE984
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #57811A

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

Preview Lab → · Contrast checker → · Palette generator →

#57811A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva