#56801F#56801F

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

Color values

HEX#56801F
RGBrgb(86, 128, 31)
HSLhsl(86, 61%, 31%)
HSVhsv(86, 76%, 50%)
CMYKcmyk(32.8%, 0%, 75.8%, 49.8%)
CIE-LABlab(48.90, -30.29, 45.11)
CIE-LCHlch(48.90, 54.34, 123.88°)
OKLaboklab(54.93% -0.086 0.1009)
OKLCHoklch(54.93% 0.133 130.4)
XYZxyz(11.8042, 17.5153, 4.0549)
Luminance0.1752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56801F #491F80
analogous
#80791F #56801F #26801F
triadic
#56801F #1F5680 #801F56
tetradic
#56801F #1F8079 #491F80 #801F26
square
#56801F #1F8079 #491F80 #801F26
split-complementary
#56801F #1F2680 #791F80
monochromatic
#141D07 #354F13 #56801F #77B12B #96D247

Accessibility & contrast

On white

4.66
#56801F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #56801F
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56801F#FFFFFF#000000##FFFFFF
##56801F1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760C
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#587A6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #56801f;
/* rgb */ color: rgb(86, 128, 31);
/* oklch */ color: oklch(54.9% 0.133 130.4);
Tailwind
colors: {
  custom: {
    50: '#89a562',
    500: '#56801f',
    950: '#000000',
  },
}
SCSS
$custom: #56801f;
$custom-light: #89a562;
$custom-dark: #000000;
JSON
{
  "hex": "#56801f",
  "rgb": {
    "r": 86,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 85.979,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54929,
    "c": 0.13259,
    "h": 130.4
  },
  "luminance": 0.17516
}

Semantic roles & 50–950 ramp

primary
#56801F
secondary
#7648B3
accent
#44E489
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #56801F

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

Preview Lab → · Contrast checker → · Palette generator →

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