#56801C#56801C

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

Color values

HEX#56801C
RGBrgb(86, 128, 28)
HSLhsl(85, 64%, 31%)
HSVhsv(85, 78%, 50%)
CMYKcmyk(32.8%, 0%, 78.1%, 49.8%)
CIE-LABlab(48.88, -30.48, 46.19)
CIE-LCHlch(48.88, 55.34, 123.42°)
OKLaboklab(54.91% -0.0867 0.1027)
OKLCHoklch(54.91% 0.134 130.2)
XYZxyz(11.7665, 17.5002, 3.8563)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56801C #461C80
analogous
#80781C #56801C #24801C
triadic
#56801C #1C5680 #801C56
tetradic
#56801C #1C8078 #461C80 #801C24
square
#56801C #1C8078 #461C80 #801C24
split-complementary
#56801C #1C2480 #781C80
monochromatic
#131C06 #344E11 #56801C #78B227 #97D541

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56801C#FFFFFF#000000##FFFFFF
##56801C1.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)
#867605
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#587A6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #56801c;
/* rgb */ color: rgb(86, 128, 28);
/* oklch */ color: oklch(54.9% 0.134 130.2);
Tailwind
colors: {
  custom: {
    50: '#8aa560',
    500: '#56801c',
    950: '#000000',
  },
}
SCSS
$custom: #56801c;
$custom-light: #8aa560;
$custom-dark: #000000;
JSON
{
  "hex": "#56801c",
  "rgb": {
    "r": 86,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 85.2,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54908,
    "c": 0.13443,
    "h": 130.2
  },
  "luminance": 0.17501
}

Semantic roles & 50–950 ramp

primary
#56801C
secondary
#7344B3
accent
#41E787
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #56801C

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

Preview Lab → · Contrast checker → · Palette generator →

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