#507C1F#507C1F
#507C1F is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.5% C 0.131 H 131.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #507C1F |
|---|---|
| RGB | rgb(80, 124, 31) |
| HSL | hsl(88, 60%, 30%) |
| HSV | hsv(88, 75%, 49%) |
| CMYK | cmyk(35.5%, 0%, 75%, 51.4%) |
| CIE-LAB | lab(47.26, -30.78, 43.37) |
| CIE-LCH | lch(47.26, 53.18, 125.36°) |
| OKLab | oklab(53.5% -0.0869 0.0974) |
| OKLCH | oklch(53.5% 0.131 131.7) |
| XYZ | xyz(10.7631, 16.2193, 3.8596) |
| Luminance | 0.1622 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 3.81
Dark Grass Green
#388004
ΔE00 4.05
Dirty Green
#667E2C
ΔE00 4.56
Tree Green
#2A7E19
ΔE00 5.35
Swamp
#698339
ΔE00 5.65
Military Green
#667C3E
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#507C1F #4B1F7C
analogous
#7C791F #507C1F #217C1F
triadic
#507C1F #1F507C #7C1F50
tetradic
#507C1F #1F7C79 #4B1F7C #7C1F21
square
#507C1F #1F7C79 #4B1F7C #7C1F21
split-complementary
#507C1F #1F217C #791F7C
monochromatic
#111A07 #304B13 #507C1F #70AD2B #8ED045
Accessibility & contrast
On white
4.95
#507C1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#507C1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #507C1F
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##507C1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##507C1F | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82720E
Deuteranopia (green-blind)
#7C6F28
Tritanopia (blue-blind)
#51776A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #507c1f; /* rgb */ color: rgb(80, 124, 31); /* oklch */ color: oklch(53.5% 0.131 131.7);
Tailwind
colors: {
custom: {
50: '#85a261',
500: '#507c1f',
950: '#000000',
},
}SCSS
$custom: #507c1f; $custom-light: #85a261; $custom-dark: #000000;
JSON
{
"hex": "#507c1f",
"rgb": {
"r": 80,
"g": 124,
"b": 31
},
"hsl": {
"h": 88.387,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.53499,
"c": 0.13054,
"h": 131.7
},
"luminance": 0.1622
}Semantic roles & 50–950 ramp
primary
#507C1F
secondary
#7948AF
accent
#45E390
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0B0F05
muted
#7C7F7A