#516A2F#516A2F
#516A2F is a mid, moderate yellow-green. Relative luminance 0.123; OKLCH L 49.0% C 0.090 H 128.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #516A2F |
|---|---|
| RGB | rgb(81, 106, 47) |
| HSL | hsl(85, 39%, 30%) |
| HSV | hsv(85, 56%, 42%) |
| CMYK | cmyk(23.6%, 0%, 55.7%, 58.4%) |
| CIE-LAB | lab(41.63, -20.00, 29.82) |
| CIE-LCH | lch(41.63, 35.90, 123.85°) |
| OKLab | oklab(48.99% -0.0559 0.0707) |
| OKLCH | oklch(48.99% 0.09 128.4) |
| XYZ | xyz(9.0604, 12.2625, 4.5783) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkolivegreen
#556B2F
ΔE00 1.04
Camo Green
#526525
ΔE00 2.68
Camouflage Green
#4B6113
ΔE00 4.98
Muddy Green
#657432
ΔE00 5.51
Army Green
#4B5D16
ΔE00 5.55
Military Green
#667C3E
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516A2F #482F6A
analogous
#6A662F #516A2F #336A2F
triadic
#516A2F #2F516A #6A2F51
tetradic
#516A2F #2F6A66 #482F6A #6A2F33
square
#516A2F #2F6A66 #482F6A #6A2F33
split-complementary
#516A2F #2F336A #662F6A
monochromatic
#101509 #31401C #516A2F #719442 #91B75C
Accessibility & contrast
On white
6.08
#516A2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#516A2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516A2F
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516A2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516A2F | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6329
Deuteranopia (green-blind)
#6B6233
Tritanopia (blue-blind)
#53665D
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #516a2f; /* rgb */ color: rgb(81, 106, 47); /* oklch */ color: oklch(49.0% 0.090 128.4);
Tailwind
colors: {
custom: {
50: '#839469',
500: '#516a2f',
950: '#000000',
},
}SCSS
$custom: #516a2f; $custom-light: #839469; $custom-dark: #000000;
JSON
{
"hex": "#516a2f",
"rgb": {
"r": 81,
"g": 106,
"b": 47
},
"hsl": {
"h": 85.424,
"s": 38.562,
"l": 30
},
"oklch": {
"l": 0.48992,
"c": 0.09011,
"h": 128.4
},
"luminance": 0.12263
}Semantic roles & 50–950 ramp
primary
#516A2F
secondary
#75599B
accent
#59CE8B
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D06
muted
#7C7E7A