#507F1E#507F1E
#507F1E is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.3% C 0.135 H 132.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #507F1E |
|---|---|
| RGB | rgb(80, 127, 30) |
| HSL | hsl(89, 62%, 31%) |
| HSV | hsv(89, 76%, 50%) |
| CMYK | cmyk(37%, 0%, 76.4%, 50.2%) |
| CIE-LAB | lab(48.23, -32.23, 44.71) |
| CIE-LCH | lch(48.23, 55.12, 125.78°) |
| OKLab | oklab(54.29% -0.0909 0.1001) |
| OKLCH | oklch(54.29% 0.135 132.3) |
| XYZ | xyz(11.1318, 16.9775, 3.9185) |
| Luminance | 0.1698 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 3.13
Dark Grass Green
#388004
ΔE00 3.58
Dirty Green
#667E2C
ΔE00 4.69
Sap Green
#5C8B15
ΔE00 5.08
Tree Green
#2A7E19
ΔE00 5.22
Mossy Green
#638B27
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#507F1E #4D1E7F
analogous
#7F7D1E #507F1E #207F1E
triadic
#507F1E #1E507F #7F1E50
tetradic
#507F1E #1E7F7D #4D1E7F #7F1E20
square
#507F1E #1E7F7D #4D1E7F #7F1E20
split-complementary
#507F1E #1E207F #7D1E7F
monochromatic
#121C07 #314D12 #507F1E #6FB12A #8ED344
Accessibility & contrast
On white
4.78
#507F1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#507F1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #507F1E
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##507F1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##507F1E | 1.00 | 4.78 | 4.40 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85750A
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#517A6C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #507f1e; /* rgb */ color: rgb(80, 127, 30); /* oklch */ color: oklch(54.3% 0.135 132.3);
Tailwind
colors: {
custom: {
50: '#85a461',
500: '#507f1e',
950: '#000000',
},
}SCSS
$custom: #507f1e; $custom-light: #85a461; $custom-dark: #000000;
JSON
{
"hex": "#507f1e",
"rgb": {
"r": 80,
"g": 127,
"b": 30
},
"hsl": {
"h": 89.072,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.54289,
"c": 0.1352,
"h": 132.3
},
"luminance": 0.16978
}Semantic roles & 50–950 ramp
primary
#507F1E
secondary
#7B47B2
accent
#43E591
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F05
muted
#7C7F7A