#56771B#56771B

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

Color values

HEX#56771B
RGBrgb(86, 119, 27)
HSLhsl(82, 63%, 29%)
HSVhsv(82, 77%, 47%)
CMYKcmyk(27.7%, 0%, 77.3%, 53.3%)
CIE-LABlab(45.98, -26.22, 43.75)
CIE-LCHlch(45.98, 51.01, 120.94°)
OKLaboklab(52.54% -0.0752 0.0974)
OKLCHoklch(52.54% 0.123 127.7)
XYZxyz(10.6324, 15.2510, 3.4203)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56771B #3C1B77
analogous
#776A1B #56771B #28771B
triadic
#56771B #1B5677 #771B56
tetradic
#56771B #1B776A #3C1B77 #771B28
square
#56771B #1B776A #3C1B77 #771B28
split-complementary
#56771B #1B2877 #6A1B77
monochromatic
#121906 #324510 #56771B #7AA926 #9CD23A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56771B#FFFFFF#000000##FFFFFF
##56771B1.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)
#7D6E08
Deuteranopia (green-blind)
#796C24
Tritanopia (blue-blind)
#597165
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #56771b;
/* rgb */ color: rgb(86, 119, 27);
/* oklch */ color: oklch(52.5% 0.123 127.7);
Tailwind
colors: {
  custom: {
    50: '#899e5f',
    500: '#56771b',
    950: '#000000',
  },
}
SCSS
$custom: #56771b;
$custom-light: #899e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#56771b",
  "rgb": {
    "r": 86,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 81.522,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5254,
    "c": 0.12308,
    "h": 127.7
  },
  "luminance": 0.15251
}

Semantic roles & 50–950 ramp

primary
#56771B
secondary
#6842AB
accent
#42E67D
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #56771B

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

Preview Lab → · Contrast checker → · Palette generator →

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