#56771A#56771A

#56771A is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.5% C 0.124 H 127.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#56771A
RGBrgb(86, 119, 26)
HSLhsl(81, 64%, 28%)
HSVhsv(81, 78%, 47%)
CMYKcmyk(27.7%, 0%, 78.2%, 53.3%)
CIE-LABlab(45.97, -26.28, 44.11)
CIE-LCHlch(45.97, 51.35, 120.79°)
OKLaboklab(52.53% -0.0755 0.098)
OKLCHoklch(52.53% 0.124 127.6)
XYZxyz(10.6211, 15.2464, 3.3604)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56771A #3B1A77
analogous
#77691A #56771A #27771A
triadic
#56771A #1A5677 #771A56
tetradic
#56771A #1A7769 #3B1A77 #771A27
square
#56771A #1A7769 #3B1A77 #771A27
split-complementary
#56771A #1A2777 #691A77
monochromatic
#121905 #32450F #56771A #7AA925 #9CD338

Accessibility & contrast

On white

5.19
#56771A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#56771A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #56771A
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56771A#FFFFFF#000000##FFFFFF
##56771A1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56771a;
/* rgb */ color: rgb(86, 119, 26);
/* oklch */ color: oklch(52.5% 0.124 127.6);
Tailwind
colors: {
  custom: {
    50: '#899e5e',
    500: '#56771a',
    950: '#000000',
  },
}
SCSS
$custom: #56771a;
$custom-light: #899e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#56771a",
  "rgb": {
    "r": 86,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 81.29,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52533,
    "c": 0.1237,
    "h": 127.6
  },
  "luminance": 0.15247
}

Semantic roles & 50–950 ramp

primary
#56771A
secondary
#6741AC
accent
#41E77C
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #56771A

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

Preview Lab → · Contrast checker → · Palette generator →

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