#316E1F#316E1F
#316E1F is a mid, vivid green. Relative luminance 0.119; OKLCH L 48.0% C 0.128 H 139.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #316E1F |
|---|---|
| RGB | rgb(49, 110, 31) |
| HSL | hsl(106, 56%, 28%) |
| HSV | hsv(106, 72%, 43%) |
| CMYK | cmyk(55.5%, 0%, 71.8%, 56.9%) |
| CIE-LAB | lab(41.06, -35.48, 36.53) |
| CIE-LCH | lch(41.06, 50.93, 134.16°) |
| OKLab | oklab(48.01% -0.0975 0.0835) |
| OKLCH | oklch(48.01% 0.128 139.4) |
| XYZ | xyz(7.0896, 11.9032, 3.2200) |
| Luminance | 0.1190 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.04
Tree Green
#2A7E19
ΔE00 5.84
Darkish Green
#287C37
ΔE00 5.94
Darkolivegreen
#556B2F
ΔE00 7.35
Green
#008000
ΔE00 7.39
Dark Grass Green
#388004
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#316E1F #5C1F6E
analogous
#586E1F #316E1F #1F6E34
triadic
#316E1F #1F316E #6E1F31
tetradic
#316E1F #1F586E #5C1F6E #6E341F
square
#316E1F #1F586E #5C1F6E #6E341F
split-complementary
#316E1F #341F6E #6E1F58
monochromatic
#0B1807 #1C3E12 #316E1F #469E2C #5EC93F
Accessibility & contrast
On white
6.21
#316E1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#316E1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #316E1F
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##316E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##316E1F | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716414
Deuteranopia (green-blind)
#695F26
Tritanopia (blue-blind)
#2B6A5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #316e1f; /* rgb */ color: rgb(49, 110, 31); /* oklch */ color: oklch(48.0% 0.128 139.4);
Tailwind
colors: {
custom: {
50: '#70985f',
500: '#316e1f',
950: '#000000',
},
}SCSS
$custom: #316e1f; $custom-light: #70985f; $custom-dark: #000000;
JSON
{
"hex": "#316e1f",
"rgb": {
"r": 49,
"g": 110,
"b": 31
},
"hsl": {
"h": 106.329,
"s": 56.028,
"l": 27.647
},
"oklch": {
"l": 0.48009,
"c": 0.12842,
"h": 139.4
},
"luminance": 0.11904
}Semantic roles & 50–950 ramp
primary
#316E1F
secondary
#8D47A2
accent
#48DFBD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79