#56801B#56801B

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

Color values

HEX#56801B
RGBrgb(86, 128, 27)
HSLhsl(85, 65%, 30%)
HSVhsv(85, 79%, 50%)
CMYKcmyk(32.8%, 0%, 78.9%, 49.8%)
CIE-LABlab(48.88, -30.54, 46.53)
CIE-LCHlch(48.88, 55.66, 123.27°)
OKLaboklab(54.9% -0.087 0.1032)
OKLCHoklch(54.9% 0.135 130.1)
XYZxyz(11.7547, 17.4955, 3.7943)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56801B #451B80
analogous
#80771B #56801B #24801B
triadic
#56801B #1B5680 #801B56
tetradic
#56801B #1B8077 #451B80 #801B24
square
#56801B #1B8077 #451B80 #801B24
split-complementary
#56801B #1B2480 #771B80
monochromatic
#121B06 #344D10 #56801B #78B326 #97D63F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56801B#FFFFFF#000000##FFFFFF
##56801B1.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)
#867603
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#587A6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #56801b;
/* rgb */ color: rgb(86, 128, 27);
/* oklch */ color: oklch(54.9% 0.135 130.1);
Tailwind
colors: {
  custom: {
    50: '#8aa560',
    500: '#56801b',
    950: '#000000',
  },
}
SCSS
$custom: #56801b;
$custom-light: #8aa560;
$custom-dark: #000000;
JSON
{
  "hex": "#56801b",
  "rgb": {
    "r": 86,
    "g": 128,
    "b": 27
  },
  "hsl": {
    "h": 84.95,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54901,
    "c": 0.135,
    "h": 130.1
  },
  "luminance": 0.17496
}

Semantic roles & 50–950 ramp

primary
#56801B
secondary
#7243B4
accent
#40E886
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #56801B

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

Preview Lab → · Contrast checker → · Palette generator →

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