#57771A#57771A

#57771A is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.6% C 0.123 H 127.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#57771A
RGBrgb(87, 119, 26)
HSLhsl(81, 64%, 28%)
HSVhsv(81, 78%, 47%)
CMYKcmyk(26.9%, 0%, 78.2%, 53.3%)
CIE-LABlab(46.03, -25.86, 44.20)
CIE-LCHlch(46.03, 51.21, 120.33°)
OKLaboklab(52.6% -0.0744 0.0981)
OKLCHoklch(52.6% 0.123 127.2)
XYZxyz(10.7138, 15.2943, 3.3647)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57771A #3A1A77
analogous
#77681A #57771A #28771A
triadic
#57771A #1A5777 #771A57
tetradic
#57771A #1A7768 #3A1A77 #771A28
square
#57771A #1A7768 #3A1A77 #771A28
split-complementary
#57771A #1A2877 #681A77
monochromatic
#121905 #32450F #57771A #7CA925 #9ED338

Accessibility & contrast

On white

5.17
#57771A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#57771A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #57771A
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57771A#FFFFFF#000000##FFFFFF
##57771A1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E05
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#5B7165
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #57771a;
/* rgb */ color: rgb(87, 119, 26);
/* oklch */ color: oklch(52.6% 0.123 127.2);
Tailwind
colors: {
  custom: {
    50: '#8a9e5e',
    500: '#57771a',
    950: '#000000',
  },
}
SCSS
$custom: #57771a;
$custom-light: #8a9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#57771a",
  "rgb": {
    "r": 87,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 80.645,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52603,
    "c": 0.12317,
    "h": 127.2
  },
  "luminance": 0.15294
}

Semantic roles & 50–950 ramp

primary
#57771A
secondary
#6641AC
accent
#41E77A
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #57771A

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

Preview Lab → · Contrast checker → · Palette generator →

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