#507F1C#507F1C
#507F1C is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.3% C 0.136 H 132.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #507F1C |
|---|---|
| RGB | rgb(80, 127, 28) |
| HSL | hsl(88, 64%, 30%) |
| HSV | hsv(88, 78%, 50%) |
| CMYK | cmyk(37%, 0%, 78%, 50.2%) |
| CIE-LAB | lab(48.22, -32.36, 45.43) |
| CIE-LCH | lch(48.22, 55.78, 125.46°) |
| OKLab | oklab(54.27% -0.0914 0.1012) |
| OKLCH | oklch(54.27% 0.136 132.1) |
| XYZ | xyz(11.1071, 16.9676, 3.7882) |
| Luminance | 0.1697 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.92
Dark Grass Green
#388004
ΔE00 3.54
Dirty Green
#667E2C
ΔE00 4.71
Sap Green
#5C8B15
ΔE00 4.99
Mossy Green
#638B27
ΔE00 5.21
Tree Green
#2A7E19
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#507F1C #4B1C7F
analogous
#7F7C1C #507F1C #1E7F1C
triadic
#507F1C #1C507F #7F1C50
tetradic
#507F1C #1C7F7C #4B1C7F #7F1C1E
square
#507F1C #1C7F7C #4B1C7F #7F1C1E
split-complementary
#507F1C #1C1E7F #7C1C7F
monochromatic
#111B06 #304D11 #507F1C #70B127 #8ED540
Accessibility & contrast
On white
4.78
#507F1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#507F1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #507F1C
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##507F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##507F1C | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857506
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#517A6C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #507f1c; /* rgb */ color: rgb(80, 127, 28); /* oklch */ color: oklch(54.3% 0.136 132.1);
Tailwind
colors: {
custom: {
50: '#85a460',
500: '#507f1c',
950: '#000000',
},
}SCSS
$custom: #507f1c; $custom-light: #85a460; $custom-dark: #000000;
JSON
{
"hex": "#507f1c",
"rgb": {
"r": 80,
"g": 127,
"b": 28
},
"hsl": {
"h": 88.485,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.54274,
"c": 0.13641,
"h": 132.1
},
"luminance": 0.16968
}Semantic roles & 50–950 ramp
primary
#507F1C
secondary
#7944B3
accent
#41E790
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79