#56771C#56771C

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

Color values

HEX#56771C
RGBrgb(86, 119, 28)
HSLhsl(82, 62%, 29%)
HSVhsv(82, 76%, 47%)
CMYKcmyk(27.7%, 0%, 76.5%, 53.3%)
CIE-LABlab(45.98, -26.16, 43.38)
CIE-LCHlch(45.98, 50.66, 121.09°)
OKLaboklab(52.55% -0.075 0.0968)
OKLCHoklch(52.55% 0.122 127.8)
XYZxyz(10.6442, 15.2557, 3.4822)
Luminance0.1526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56771C #3D1C77
analogous
#776B1C #56771C #29771C
triadic
#56771C #1C5677 #771C56
tetradic
#56771C #1C776B #3D1C77 #771C29
square
#56771C #1C776B #3D1C77 #771C29
split-complementary
#56771C #1C2977 #6B1C77
monochromatic
#121906 #324510 #56771C #7AA928 #9BD13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56771C#FFFFFF#000000##FFFFFF
##56771C1.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)
#7D6E0A
Deuteranopia (green-blind)
#796C25
Tritanopia (blue-blind)
#597166
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #56771c;
/* rgb */ color: rgb(86, 119, 28);
/* oklch */ color: oklch(52.5% 0.122 127.8);
Tailwind
colors: {
  custom: {
    50: '#899e5f',
    500: '#56771c',
    950: '#000000',
  },
}
SCSS
$custom: #56771c;
$custom-light: #899e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#56771c",
  "rgb": {
    "r": 86,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 81.758,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52547,
    "c": 0.12246,
    "h": 127.8
  },
  "luminance": 0.15256
}

Semantic roles & 50–950 ramp

primary
#56771C
secondary
#6944AB
accent
#43E57E
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #56771C

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

Preview Lab → · Contrast checker → · Palette generator →

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