#56801D#56801D

#56801D is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.9% C 0.134 H 130.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#56801D
RGBrgb(86, 128, 29)
HSLhsl(85, 63%, 31%)
HSVhsv(85, 77%, 50%)
CMYKcmyk(32.8%, 0%, 77.3%, 49.8%)
CIE-LABlab(48.89, -30.42, 45.84)
CIE-LCHlch(48.89, 55.01, 123.57°)
OKLaboklab(54.92% -0.0865 0.1021)
OKLCHoklch(54.92% 0.134 130.3)
XYZxyz(11.7786, 17.5051, 3.9204)
Luminance0.1751 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56801D #471D80
analogous
#80781D #56801D #24801D
triadic
#56801D #1D5680 #801D56
tetradic
#56801D #1D8078 #471D80 #801D24
square
#56801D #1D8078 #471D80 #801D24
split-complementary
#56801D #1D2480 #781D80
monochromatic
#131C06 #344E12 #56801D #78B228 #97D443

Accessibility & contrast

On white

4.67
#56801D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#56801D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #56801D
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56801D#FFFFFF#000000##FFFFFF
##56801D1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867607
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#587A6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #56801d;
/* rgb */ color: rgb(86, 128, 29);
/* oklch */ color: oklch(54.9% 0.134 130.3);
Tailwind
colors: {
  custom: {
    50: '#89a561',
    500: '#56801d',
    950: '#000000',
  },
}
SCSS
$custom: #56801d;
$custom-light: #89a561;
$custom-dark: #000000;
JSON
{
  "hex": "#56801d",
  "rgb": {
    "r": 86,
    "g": 128,
    "b": 29
  },
  "hsl": {
    "h": 85.455,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54915,
    "c": 0.13384,
    "h": 130.3
  },
  "luminance": 0.17505
}

Semantic roles & 50–950 ramp

primary
#56801D
secondary
#7445B3
accent
#42E687
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #56801D

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

Preview Lab → · Contrast checker → · Palette generator →

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