#507D1F#507D1F
#507D1F is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.8% C 0.132 H 132.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #507D1F |
|---|---|
| RGB | rgb(80, 125, 31) |
| HSL | hsl(89, 60%, 31%) |
| HSV | hsv(89, 75%, 49%) |
| CMYK | cmyk(36%, 0%, 75.2%, 51%) |
| CIE-LAB | lab(47.59, -31.24, 43.70) |
| CIE-LCH | lch(47.59, 53.71, 125.56°) |
| OKLab | oklab(53.76% -0.0882 0.0981) |
| OKLCH | oklch(53.76% 0.132 132) |
| XYZ | xyz(10.8891, 16.4712, 3.9016) |
| Luminance | 0.1647 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 3.60
Dark Grass Green
#388004
ΔE00 3.87
Dirty Green
#667E2C
ΔE00 4.58
Tree Green
#2A7E19
ΔE00 5.27
Swamp
#698339
ΔE00 5.56
Sap Green
#5C8B15
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#507D1F #4C1F7D
analogous
#7D7B1F #507D1F #217D1F
triadic
#507D1F #1F507D #7D1F50
tetradic
#507D1F #1F7D7B #4C1F7D #7D1F21
square
#507D1F #1F7D7B #4C1F7D #7D1F21
split-complementary
#507D1F #1F217D #7B1F7D
monochromatic
#111B07 #314C13 #507D1F #6FAE2B #8ED145
Accessibility & contrast
On white
4.89
#507D1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#507D1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #507D1F
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##507D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##507D1F | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83730E
Deuteranopia (green-blind)
#7C7028
Tritanopia (blue-blind)
#51786B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #507d1f; /* rgb */ color: rgb(80, 125, 31); /* oklch */ color: oklch(53.8% 0.132 132.0);
Tailwind
colors: {
custom: {
50: '#85a361',
500: '#507d1f',
950: '#000000',
},
}SCSS
$custom: #507d1f; $custom-light: #85a361; $custom-dark: #000000;
JSON
{
"hex": "#507d1f",
"rgb": {
"r": 80,
"g": 125,
"b": 31
},
"hsl": {
"h": 88.723,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.53764,
"c": 0.13189,
"h": 132
},
"luminance": 0.16472
}Semantic roles & 50–950 ramp
primary
#507D1F
secondary
#7A48B0
accent
#44E391
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0B0F05
muted
#7C7F7A