#316620#316620
#316620 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.7% C 0.117 H 139.0°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #316620 |
|---|---|
| RGB | rgb(49, 102, 32) |
| HSL | hsl(105, 52%, 26%) |
| HSV | hsv(105, 69%, 40%) |
| CMYK | cmyk(52%, 0%, 68.6%, 60%) |
| CIE-LAB | lab(38.30, -31.95, 33.12) |
| CIE-LCH | lch(38.30, 46.02, 133.97°) |
| OKLab | oklab(45.74% -0.0879 0.0765) |
| OKLCH | oklch(45.74% 0.117 139) |
| XYZ | xyz(6.2785, 10.2595, 3.0157) |
| Luminance | 0.1026 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.66
Forest Green
#2D5A27
ΔE00 5.11
Deep Green
#02590F
ΔE00 5.69
Forest
#0B5509
ΔE00 6.36
Pine
#2B5D34
ΔE00 6.96
Darkolivegreen
#556B2F
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#316620 #552066
analogous
#546620 #316620 #206632
triadic
#316620 #203166 #662031
tetradic
#316620 #205466 #552066 #663220
square
#316620 #205466 #552066 #663220
split-complementary
#316620 #322066 #662054
monochromatic
#0B1707 #1B3711 #316620 #47952F #5EC23E
Accessibility & contrast
On white
6.88
#316620 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#316620 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #316620
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##316620 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##316620 | 1.00 | 6.88 | 3.05 | 6.88 |
| #FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695D17
Deuteranopia (green-blind)
#625826
Tritanopia (blue-blind)
#2D6257
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #316620; /* rgb */ color: rgb(49, 102, 32); /* oklch */ color: oklch(45.7% 0.117 139.0);
Tailwind
colors: {
custom: {
50: '#6e925f',
500: '#316620',
950: '#000000',
},
}SCSS
$custom: #316620; $custom-light: #6e925f; $custom-dark: #000000;
JSON
{
"hex": "#316620",
"rgb": {
"r": 49,
"g": 102,
"b": 32
},
"hsl": {
"h": 105.429,
"s": 52.239,
"l": 26.275
},
"oklch": {
"l": 0.45744,
"c": 0.11651,
"h": 139
},
"luminance": 0.1026
}Semantic roles & 50–950 ramp
primary
#316620
secondary
#86489A
accent
#4CDCB9
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D05
muted
#7B7E79