#507D1C#507D1C
#507D1C is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.7% C 0.134 H 131.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #507D1C |
|---|---|
| RGB | rgb(80, 125, 28) |
| HSL | hsl(88, 63%, 30%) |
| HSV | hsv(88, 78%, 49%) |
| CMYK | cmyk(36%, 0%, 77.6%, 51%) |
| CIE-LAB | lab(47.57, -31.44, 44.80) |
| CIE-LCH | lch(47.57, 54.73, 125.06°) |
| OKLab | oklab(53.74% -0.0889 0.0999) |
| OKLCH | oklch(53.74% 0.134 131.7) |
| XYZ | xyz(10.8514, 16.4561, 3.7030) |
| Luminance | 0.1646 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 3.29
Dark Grass Green
#388004
ΔE00 3.79
Dirty Green
#667E2C
ΔE00 4.59
Tree Green
#2A7E19
ΔE00 5.38
Sap Green
#5C8B15
ΔE00 5.64
Swamp
#698339
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#507D1C #491C7D
analogous
#7D7A1C #507D1C #1F7D1C
triadic
#507D1C #1C507D #7D1C50
tetradic
#507D1C #1C7D7A #491C7D #7D1C1F
square
#507D1C #1C7D7A #491C7D #7D1C1F
split-complementary
#507D1C #1C1F7D #7A1C7D
monochromatic
#101906 #304B11 #507D1C #70AF27 #8FD43F
Accessibility & contrast
On white
4.89
#507D1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#507D1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #507D1C
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##507D1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##507D1C | 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)
#837307
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#51786B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #507d1c; /* rgb */ color: rgb(80, 125, 28); /* oklch */ color: oklch(53.7% 0.134 131.7);
Tailwind
colors: {
custom: {
50: '#85a360',
500: '#507d1c',
950: '#000000',
},
}SCSS
$custom: #507d1c; $custom-light: #85a360; $custom-dark: #000000;
JSON
{
"hex": "#507d1c",
"rgb": {
"r": 80,
"g": 125,
"b": 28
},
"hsl": {
"h": 87.835,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.53742,
"c": 0.13377,
"h": 131.7
},
"luminance": 0.16457
}Semantic roles & 50–950 ramp
primary
#507D1C
secondary
#7644B1
accent
#41E68E
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0B0F05
muted
#7C7F79