#51801E#51801E
#51801E is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.6% C 0.136 H 132.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #51801E |
|---|---|
| RGB | rgb(81, 128, 30) |
| HSL | hsl(89, 62%, 31%) |
| HSV | hsv(89, 77%, 50%) |
| CMYK | cmyk(36.7%, 0%, 76.6%, 49.8%) |
| CIE-LAB | lab(48.61, -32.30, 45.10) |
| CIE-LCH | lch(48.61, 55.48, 125.61°) |
| OKLab | oklab(54.61% -0.0912 0.1009) |
| OKLCH | oklch(54.61% 0.136 132.1) |
| XYZ | xyz(11.3467, 17.2809, 3.9658) |
| Luminance | 0.1728 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.89
Dark Grass Green
#388004
ΔE00 3.66
Dirty Green
#667E2C
ΔE00 4.62
Sap Green
#5C8B15
ΔE00 4.68
Mossy Green
#638B27
ΔE00 4.85
Swamp
#698339
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51801E #4D1E80
analogous
#807E1E #51801E #20801E
triadic
#51801E #1E5180 #801E51
tetradic
#51801E #1E807E #4D1E80 #801E20
square
#51801E #1E807E #4D1E80 #801E20
split-complementary
#51801E #1E2080 #7E1E80
monochromatic
#121D07 #324E12 #51801E #70B22A #8FD345
Accessibility & contrast
On white
4.71
#51801E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#51801E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #51801E
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51801E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51801E | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86760A
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#527B6D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #51801e; /* rgb */ color: rgb(81, 128, 30); /* oklch */ color: oklch(54.6% 0.136 132.1);
Tailwind
colors: {
custom: {
50: '#86a561',
500: '#51801e',
950: '#000000',
},
}SCSS
$custom: #51801e; $custom-light: #86a561; $custom-dark: #000000;
JSON
{
"hex": "#51801e",
"rgb": {
"r": 81,
"g": 128,
"b": 30
},
"hsl": {
"h": 88.776,
"s": 62.025,
"l": 30.98
},
"oklch": {
"l": 0.54614,
"c": 0.13598,
"h": 132.1
},
"luminance": 0.17281
}Semantic roles & 50–950 ramp
primary
#51801E
secondary
#7B47B3
accent
#43E591
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A