#57811F#57811F

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

Color values

HEX#57811F
RGBrgb(87, 129, 31)
HSLhsl(86, 61%, 31%)
HSVhsv(86, 76%, 51%)
CMYKcmyk(32.6%, 0%, 76%, 49.4%)
CIE-LABlab(49.28, -30.37, 45.51)
CIE-LCHlch(49.28, 54.71, 123.72°)
OKLaboklab(55.26% -0.0863 0.1017)
OKLCHoklch(55.26% 0.133 130.3)
XYZxyz(12.0280, 17.8253, 4.1030)
Luminance0.1783 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57811F #491F81
analogous
#817A1F #57811F #26811F
triadic
#57811F #1F5781 #811F57
tetradic
#57811F #1F817A #491F81 #811F26
square
#57811F #1F817A #491F81 #811F26
split-complementary
#57811F #1F2681 #7A1F81
monochromatic
#141E07 #365013 #57811F #78B22B #97D347

Accessibility & contrast

On white

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

On black

4.57
#57811F on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##57811F#FFFFFF#000000##FFFFFF
##57811F1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770B
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#597B6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #57811f;
/* rgb */ color: rgb(87, 129, 31);
/* oklch */ color: oklch(55.3% 0.133 130.3);
Tailwind
colors: {
  custom: {
    50: '#8aa662',
    500: '#57811f',
    950: '#000000',
  },
}
SCSS
$custom: #57811f;
$custom-light: #8aa662;
$custom-dark: #000000;
JSON
{
  "hex": "#57811f",
  "rgb": {
    "r": 87,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 85.714,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55255,
    "c": 0.13338,
    "h": 130.3
  },
  "luminance": 0.17826
}

Semantic roles & 50–950 ramp

primary
#57811F
secondary
#7648B4
accent
#43E488
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #57811F

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

Preview Lab → · Contrast checker → · Palette generator →

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