#507E1F#507E1F
#507E1F is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.0% C 0.133 H 132.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #507E1F |
|---|---|
| RGB | rgb(80, 126, 31) |
| HSL | hsl(89, 61%, 31%) |
| HSV | hsv(89, 75%, 49%) |
| CMYK | cmyk(36.5%, 0%, 75.4%, 50.6%) |
| CIE-LAB | lab(47.91, -31.70, 44.02) |
| CIE-LCH | lch(47.91, 54.25, 125.76°) |
| OKLab | oklab(54.03% -0.0894 0.0988) |
| OKLCH | oklch(54.03% 0.133 132.2) |
| XYZ | xyz(11.0163, 16.7257, 3.9440) |
| Luminance | 0.1673 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 3.41
Dark Grass Green
#388004
ΔE00 3.73
Dirty Green
#667E2C
ΔE00 4.62
Tree Green
#2A7E19
ΔE00 5.21
Sap Green
#5C8B15
ΔE00 5.46
Swamp
#698339
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#507E1F #4D1F7E
analogous
#7E7C1F #507E1F #207E1F
triadic
#507E1F #1F507E #7E1F50
tetradic
#507E1F #1F7E7C #4D1F7E #7E1F20
square
#507E1F #1F7E7C #4D1F7E #7E1F20
split-complementary
#507E1F #1F207E #7C1F7E
monochromatic
#121C07 #314D13 #507E1F #6FAF2B #8ED146
Accessibility & contrast
On white
4.83
#507E1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#507E1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #507E1F
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##507E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##507E1F | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84740D
Deuteranopia (green-blind)
#7D7028
Tritanopia (blue-blind)
#51796C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #507e1f; /* rgb */ color: rgb(80, 126, 31); /* oklch */ color: oklch(54.0% 0.133 132.2);
Tailwind
colors: {
custom: {
50: '#85a362',
500: '#507e1f',
950: '#000000',
},
}SCSS
$custom: #507e1f; $custom-light: #85a362; $custom-dark: #000000;
JSON
{
"hex": "#507e1f",
"rgb": {
"r": 80,
"g": 126,
"b": 31
},
"hsl": {
"h": 89.053,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.5403,
"c": 0.13323,
"h": 132.2
},
"luminance": 0.16726
}Semantic roles & 50–950 ramp
primary
#507E1F
secondary
#7B48B1
accent
#44E491
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F05
muted
#7C7F7A