#518F14#518F14
#518F14 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.5% C 0.160 H 133.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #518F14 |
|---|---|
| RGB | rgb(81, 143, 20) |
| HSL | hsl(90, 75%, 32%) |
| HSV | hsv(90, 86%, 56%) |
| CMYK | cmyk(43.4%, 0%, 86%, 43.9%) |
| CIE-LAB | lab(53.43, -39.42, 52.69) |
| CIE-LCH | lch(53.43, 65.80, 126.81°) |
| OKLab | oklab(58.54% -0.111 0.1152) |
| OKLCH | oklch(58.54% 0.16 133.9) |
| XYZ | xyz(13.3418, 21.4440, 4.0978) |
| Luminance | 0.2145 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 2.42
Mossy Green
#638B27
ΔE00 3.55
Grass Green
#3F9B0B
ΔE00 4.50
Olivedrab
#6B8E23
ΔE00 4.54
Grassy Green
#419C03
ΔE00 4.71
Avocado
#568203
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#518F14 #52148F
analogous
#8F8F14 #518F14 #148F15
triadic
#518F14 #14518F #8F1451
tetradic
#518F14 #148F8F #52148F #8F1514
square
#518F14 #148F8F #52148F #8F1514
split-complementary
#518F14 #15148F #8F148F
monochromatic
#142405 #33590C #518F14 #6FC51C #8EE33A
Accessibility & contrast
On white
3.97
#518F14 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#518F14 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #518F14
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##518F14 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##518F14 | 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)
#8D7E24
Tritanopia (blue-blind)
#508979
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #518f14; /* rgb */ color: rgb(81, 143, 20); /* oklch */ color: oklch(58.5% 0.160 133.9);
Tailwind
colors: {
custom: {
50: '#88b05f',
500: '#518f14',
950: '#000000',
},
}SCSS
$custom: #518f14; $custom-light: #88b05f; $custom-dark: #000000;
JSON
{
"hex": "#518f14",
"rgb": {
"r": 81,
"g": 143,
"b": 20
},
"hsl": {
"h": 90.244,
"s": 75.46,
"l": 31.961
},
"oklch": {
"l": 0.58543,
"c": 0.16,
"h": 133.9
},
"luminance": 0.21445
}Semantic roles & 50–950 ramp
primary
#518F14
secondary
#803CC3
accent
#36F295
background
#F8FAF5
surface
#F0F5EA
border
#CBCFC6
text
#0C1005
muted
#7D7F79