#56771D#56771D

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

Color values

HEX#56771D
RGBrgb(86, 119, 29)
HSLhsl(82, 61%, 29%)
HSVhsv(82, 76%, 47%)
CMYKcmyk(27.7%, 0%, 75.6%, 53.3%)
CIE-LABlab(45.99, -26.10, 43.01)
CIE-LCHlch(45.99, 50.31, 121.25°)
OKLaboklab(52.55% -0.0747 0.0962)
OKLCHoklch(52.55% 0.122 127.9)
XYZxyz(10.6564, 15.2606, 3.5463)
Luminance0.1526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56771D #3E1D77
analogous
#776B1D #56771D #29771D
triadic
#56771D #1D5677 #771D56
tetradic
#56771D #1D776B #3E1D77 #771D29
square
#56771D #1D776B #3E1D77 #771D29
split-complementary
#56771D #1D2977 #6B1D77
monochromatic
#121906 #324611 #56771D #7AA829 #9BD03E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #56771d;
/* rgb */ color: rgb(86, 119, 29);
/* oklch */ color: oklch(52.6% 0.122 127.9);
Tailwind
colors: {
  custom: {
    50: '#899e60',
    500: '#56771d',
    950: '#000000',
  },
}
SCSS
$custom: #56771d;
$custom-light: #899e60;
$custom-dark: #000000;
JSON
{
  "hex": "#56771d",
  "rgb": {
    "r": 86,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 82,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52555,
    "c": 0.12181,
    "h": 127.9
  },
  "luminance": 0.15261
}

Semantic roles & 50–950 ramp

primary
#56771D
secondary
#6A45AB
accent
#44E47F
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #56771D

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

Preview Lab → · Contrast checker → · Palette generator →

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