#516E2D#516E2D
#516E2D is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 50.0% C 0.098 H 129.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #516E2D |
|---|---|
| RGB | rgb(81, 110, 45) |
| HSL | hsl(87, 42%, 30%) |
| HSV | hsv(87, 59%, 43%) |
| CMYK | cmyk(26.4%, 0%, 59.1%, 56.9%) |
| CIE-LAB | lab(42.90, -22.30, 32.34) |
| CIE-LCH | lch(42.90, 39.29, 124.58°) |
| OKLab | oklab(50.01% -0.0625 0.076) |
| OKLCH | oklch(50.01% 0.098 129.4) |
| XYZ | xyz(9.4429, 13.0904, 4.5113) |
| Luminance | 0.1309 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkolivegreen
#556B2F
ΔE00 1.84
Camo Green
#526525
ΔE00 3.68
Muddy Green
#657432
ΔE00 4.92
Camouflage Green
#4B6113
ΔE00 5.49
Military Green
#667C3E
ΔE00 6.10
Army Green
#4B5D16
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516E2D #4A2D6E
analogous
#6E6A2D #516E2D #316E2D
triadic
#516E2D #2D516E #6E2D51
tetradic
#516E2D #2D6E6A #4A2D6E #6E2D31
square
#516E2D #2D6E6A #4A2D6E #6E2D31
split-complementary
#516E2D #2D316E #6A2D6E
monochromatic
#111709 #31431B #516E2D #71993F #90BB5A
Accessibility & contrast
On white
5.80
#516E2D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#516E2D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516E2D
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516E2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516E2D | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736726
Deuteranopia (green-blind)
#6F6531
Tritanopia (blue-blind)
#536960
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #516e2d; /* rgb */ color: rgb(81, 110, 45); /* oklch */ color: oklch(50.0% 0.098 129.4);
Tailwind
colors: {
custom: {
50: '#849768',
500: '#516e2d',
950: '#000000',
},
}SCSS
$custom: #516e2d; $custom-light: #849768; $custom-dark: #000000;
JSON
{
"hex": "#516e2d",
"rgb": {
"r": 81,
"g": 110,
"b": 45
},
"hsl": {
"h": 86.769,
"s": 41.935,
"l": 30.392
},
"oklch": {
"l": 0.5001,
"c": 0.09835,
"h": 129.4
},
"luminance": 0.13091
}Semantic roles & 50–950 ramp
primary
#516E2D
secondary
#7757A0
accent
#56D28D
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A