#316717#316717
#316717 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.9% C 0.125 H 137.6°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #316717 |
|---|---|
| RGB | rgb(49, 103, 23) |
| HSL | hsl(101, 63%, 25%) |
| HSV | hsv(101, 78%, 40%) |
| CMYK | cmyk(52.4%, 0%, 77.7%, 59.6%) |
| CIE-LAB | lab(38.58, -33.20, 37.33) |
| CIE-LCH | lch(38.58, 49.96, 131.65°) |
| OKLab | oklab(45.94% -0.0919 0.084) |
| OKLCH | oklch(45.94% 0.125 137.6) |
| XYZ | xyz(6.2713, 10.4149, 2.4903) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.10
Deep Green
#02590F
ΔE00 6.15
Forest Green
#2D5A27
ΔE00 6.43
Camouflage Green
#4B6113
ΔE00 6.58
Forest
#0B5509
ΔE00 6.71
Camo Green
#526525
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#316717 #4D1767
analogous
#596717 #316717 #176725
triadic
#316717 #173167 #671731
tetradic
#316717 #175967 #4D1767 #672517
square
#316717 #175967 #4D1767 #672517
split-complementary
#316717 #251767 #671759
monochromatic
#0C1906 #19350C #316717 #499922 #61CB2D
Accessibility & contrast
On white
6.81
#316717 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#316717 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #316717
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##316717 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##316717 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5E08
Deuteranopia (green-blind)
#63591F
Tritanopia (blue-blind)
#2D6358
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #316717; /* rgb */ color: rgb(49, 103, 23); /* oklch */ color: oklch(45.9% 0.125 137.6);
Tailwind
colors: {
custom: {
50: '#6f935a',
500: '#316717',
950: '#000000',
},
}SCSS
$custom: #316717; $custom-light: #6f935a; $custom-dark: #000000;
JSON
{
"hex": "#316717",
"rgb": {
"r": 49,
"g": 103,
"b": 23
},
"hsl": {
"h": 100.5,
"s": 63.492,
"l": 24.706
},
"oklch": {
"l": 0.45944,
"c": 0.12456,
"h": 137.6
},
"luminance": 0.10415
}Semantic roles & 50–950 ramp
primary
#316717
secondary
#7E3D9D
accent
#41E7B1
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79