#57811E#57811E

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

Color values

HEX#57811E
RGBrgb(87, 129, 30)
HSLhsl(85, 62%, 31%)
HSVhsv(85, 77%, 51%)
CMYKcmyk(32.6%, 0%, 76.7%, 49.4%)
CIE-LABlab(49.28, -30.43, 45.87)
CIE-LCHlch(49.28, 55.05, 123.56°)
OKLaboklab(55.25% -0.0865 0.1023)
OKLCHoklch(55.25% 0.134 130.2)
XYZxyz(12.0150, 17.8201, 4.0346)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57811E #481E81
analogous
#81791E #57811E #25811E
triadic
#57811E #1E5781 #811E57
tetradic
#57811E #1E8179 #481E81 #811E25
square
#57811E #1E8179 #481E81 #811E25
split-complementary
#57811E #1E2581 #791E81
monochromatic
#141E07 #364F12 #57811E #78B32A #97D446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57811E#FFFFFF#000000##FFFFFF
##57811E1.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)
#877709
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#597B6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #57811e;
/* rgb */ color: rgb(87, 129, 30);
/* oklch */ color: oklch(55.2% 0.134 130.2);
Tailwind
colors: {
  custom: {
    50: '#8aa662',
    500: '#57811e',
    950: '#000000',
  },
}
SCSS
$custom: #57811e;
$custom-light: #8aa662;
$custom-dark: #000000;
JSON
{
  "hex": "#57811e",
  "rgb": {
    "r": 87,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 85.455,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55247,
    "c": 0.134,
    "h": 130.2
  },
  "luminance": 0.1782
}

Semantic roles & 50–950 ramp

primary
#57811E
secondary
#7547B4
accent
#42E588
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #57811E

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

Preview Lab → · Contrast checker → · Palette generator →

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