#56771E#56771E

#56771E is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.6% C 0.121 H 127.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#56771E
RGBrgb(86, 119, 30)
HSLhsl(82, 60%, 29%)
HSVhsv(82, 75%, 47%)
CMYKcmyk(27.7%, 0%, 74.8%, 53.3%)
CIE-LABlab(46.00, -26.03, 42.62)
CIE-LCHlch(46.00, 49.94, 121.41°)
OKLaboklab(52.56% -0.0745 0.0955)
OKLCHoklch(52.56% 0.121 127.9)
XYZxyz(10.6689, 15.2656, 3.6125)
Luminance0.1527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56771E #3F1E77
analogous
#776C1E #56771E #2A771E
triadic
#56771E #1E5677 #771E56
tetradic
#56771E #1E776C #3F1E77 #771E2A
square
#56771E #1E776C #3F1E77 #771E2A
split-complementary
#56771E #1E2A77 #6C1E77
monochromatic
#121806 #334612 #56771E #79A82A #9ACF40

Accessibility & contrast

On white

5.18
#56771E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #56771E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56771E#FFFFFF#000000##FFFFFF
##56771E1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E0E
Deuteranopia (green-blind)
#796C26
Tritanopia (blue-blind)
#597166
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #56771e;
/* rgb */ color: rgb(86, 119, 30);
/* oklch */ color: oklch(52.6% 0.121 127.9);
Tailwind
colors: {
  custom: {
    50: '#899e60',
    500: '#56771e',
    950: '#000000',
  },
}
SCSS
$custom: #56771e;
$custom-light: #899e60;
$custom-dark: #000000;
JSON
{
  "hex": "#56771e",
  "rgb": {
    "r": 86,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 82.247,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52563,
    "c": 0.12114,
    "h": 127.9
  },
  "luminance": 0.15266
}

Semantic roles & 50–950 ramp

primary
#56771E
secondary
#6B46AB
accent
#45E37F
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #56771E

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

Preview Lab → · Contrast checker → · Palette generator →

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