#316718#316718
#316718 is a mid, vivid green. Relative luminance 0.104; OKLCH L 46.0% C 0.124 H 137.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #316718 |
|---|---|
| RGB | rgb(49, 103, 24) |
| HSL | hsl(101, 62%, 25%) |
| HSV | hsv(101, 77%, 40%) |
| CMYK | cmyk(52.4%, 0%, 76.7%, 59.6%) |
| CIE-LAB | lab(38.58, -33.12, 36.93) |
| CIE-LCH | lch(38.58, 49.61, 131.89°) |
| OKLab | oklab(45.95% -0.0916 0.0834) |
| OKLCH | oklch(45.95% 0.124 137.7) |
| XYZ | xyz(6.2815, 10.4190, 2.5440) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.13
Deep Green
#02590F
ΔE00 6.11
Forest Green
#2D5A27
ΔE00 6.33
Camouflage Green
#4B6113
ΔE00 6.63
Forest
#0B5509
ΔE00 6.68
Camo Green
#526525
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#316718 #4E1867
analogous
#586718 #316718 #186727
triadic
#316718 #183167 #671831
tetradic
#316718 #185867 #4E1867 #672718
square
#316718 #185867 #4E1867 #672718
split-complementary
#316718 #271867 #671858
monochromatic
#0C1906 #19350C #316718 #499924 #60CA2F
Accessibility & contrast
On white
6.81
#316718 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#316718 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #316718
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##316718 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##316718 | 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)
#6A5E0A
Deuteranopia (green-blind)
#635920
Tritanopia (blue-blind)
#2D6358
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #316718; /* rgb */ color: rgb(49, 103, 24); /* oklch */ color: oklch(46.0% 0.124 137.7);
Tailwind
colors: {
custom: {
50: '#6f935b',
500: '#316718',
950: '#000000',
},
}SCSS
$custom: #316718; $custom-light: #6f935b; $custom-dark: #000000;
JSON
{
"hex": "#316718",
"rgb": {
"r": 49,
"g": 103,
"b": 24
},
"hsl": {
"h": 101.013,
"s": 62.205,
"l": 24.902
},
"oklch": {
"l": 0.45952,
"c": 0.1239,
"h": 137.7
},
"luminance": 0.10419
}Semantic roles & 50–950 ramp
primary
#316718
secondary
#7F3E9D
accent
#43E5B2
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79