#57811D#57811D

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

Color values

HEX#57811D
RGBrgb(87, 129, 29)
HSLhsl(85, 63%, 31%)
HSVhsv(85, 78%, 51%)
CMYKcmyk(32.6%, 0%, 77.5%, 49.4%)
CIE-LABlab(49.27, -30.49, 46.23)
CIE-LCHlch(49.27, 55.38, 123.41°)
OKLaboklab(55.24% -0.0868 0.1029)
OKLCHoklch(55.24% 0.135 130.1)
XYZxyz(12.0024, 17.8151, 3.9684)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57811D #471D81
analogous
#81791D #57811D #25811D
triadic
#57811D #1D5781 #811D57
tetradic
#57811D #1D8179 #471D81 #811D25
square
#57811D #1D8179 #471D81 #811D25
split-complementary
#57811D #1D2581 #791D81
monochromatic
#141D07 #354F12 #57811D #79B328 #98D544

Accessibility & contrast

On white

4.60
#57811D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #57811D
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57811D#FFFFFF#000000##FFFFFF
##57811D1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #57811d;
/* rgb */ color: rgb(87, 129, 29);
/* oklch */ color: oklch(55.2% 0.135 130.1);
Tailwind
colors: {
  custom: {
    50: '#8aa661',
    500: '#57811d',
    950: '#000000',
  },
}
SCSS
$custom: #57811d;
$custom-light: #8aa661;
$custom-dark: #000000;
JSON
{
  "hex": "#57811d",
  "rgb": {
    "r": 87,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 85.2,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5524,
    "c": 0.13461,
    "h": 130.1
  },
  "luminance": 0.17815
}

Semantic roles & 50–950 ramp

primary
#57811D
secondary
#7446B4
accent
#41E687
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #57811D

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

Preview Lab → · Contrast checker → · Palette generator →

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