#518F15#518F15
#518F15 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.5% C 0.160 H 134.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #518F15 |
|---|---|
| RGB | rgb(81, 143, 21) |
| HSL | hsl(90, 74%, 32%) |
| HSV | hsv(90, 85%, 56%) |
| CMYK | cmyk(43.4%, 0%, 85.3%, 43.9%) |
| CIE-LAB | lab(53.44, -39.38, 52.43) |
| CIE-LCH | lch(53.44, 65.58, 126.91°) |
| OKLab | oklab(58.55% -0.1109 0.1148) |
| OKLCH | oklch(58.55% 0.16 134) |
| XYZ | xyz(13.3509, 21.4477, 4.1457) |
| Luminance | 0.2145 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 2.44
Mossy Green
#638B27
ΔE00 3.53
Grass Green
#3F9B0B
ΔE00 4.50
Olivedrab
#6B8E23
ΔE00 4.55
Grassy Green
#419C03
ΔE00 4.71
Avocado
#568203
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#518F15 #53158F
analogous
#8E8F15 #518F15 #158F16
triadic
#518F15 #15518F #8F1551
tetradic
#518F15 #158E8F #53158F #8F1615
square
#518F15 #158E8F #53158F #8F1615
split-complementary
#518F15 #16158F #8F158E
monochromatic
#152405 #335A0D #518F15 #6FC41D #8EE23C
Accessibility & contrast
On white
3.97
#518F15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#518F15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #518F15
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##518F15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##518F15 | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8D7E25
Tritanopia (blue-blind)
#508979
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #518f15; /* rgb */ color: rgb(81, 143, 21); /* oklch */ color: oklch(58.5% 0.160 134.0);
Tailwind
colors: {
custom: {
50: '#88b060',
500: '#518f15',
950: '#000000',
},
}SCSS
$custom: #518f15; $custom-light: #88b060; $custom-dark: #000000;
JSON
{
"hex": "#518f15",
"rgb": {
"r": 81,
"g": 143,
"b": 21
},
"hsl": {
"h": 90.492,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.58547,
"c": 0.15961,
"h": 134
},
"luminance": 0.21448
}Semantic roles & 50–950 ramp
primary
#518F15
secondary
#813EC2
accent
#37F195
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A