#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 |
|---|---|
| RGB | rgb(86, 128, 27) |
| HSL | hsl(85, 65%, 30%) |
| HSV | hsv(85, 79%, 50%) |
| CMYK | cmyk(32.8%, 0%, 78.9%, 49.8%) |
| CIE-LAB | lab(48.88, -30.54, 46.53) |
| CIE-LCH | lch(48.88, 55.66, 123.27°) |
| OKLab | oklab(54.9% -0.087 0.1032) |
| OKLCH | oklch(54.9% 0.135 130.1) |
| XYZ | xyz(11.7547, 17.4955, 3.7943) |
| Luminance | 0.1750 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.05
Dirty Green
#667E2C
ΔE00 3.86
Sap Green
#5C8B15
ΔE00 4.21
Mossy Green
#638B27
ΔE00 4.36
Dark Grass Green
#388004
ΔE00 4.50
Swamp
#698339
ΔE00 4.90
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 |
|---|---|---|---|---|
| ##56801B | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.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