#317A1E#317A1E
#317A1E is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.145 H 140.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #317A1E |
|---|---|
| RGB | rgb(49, 122, 30) |
| HSL | hsl(108, 61%, 30%) |
| HSV | hsv(108, 75%, 48%) |
| CMYK | cmyk(59.8%, 0%, 75.4%, 52.2%) |
| CIE-LAB | lab(45.17, -40.43, 41.20) |
| CIE-LCH | lch(45.17, 57.72, 134.46°) |
| OKLab | oklab(51.4% -0.111 0.0932) |
| OKLCH | oklch(51.4% 0.145 140) |
| XYZ | xyz(8.4601, 14.6650, 3.6129) |
| Luminance | 0.1467 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.67
Dark Grass Green
#388004
ΔE00 3.73
Green
#008000
ΔE00 3.82
Darkish Green
#287C37
ΔE00 4.52
Forestgreen (CSS)
#228B22
ΔE00 6.09
Jungle Green
#048243
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317A1E #671E7A
analogous
#5F7A1E #317A1E #1E7A39
triadic
#317A1E #1E317A #7A1E31
tetradic
#317A1E #1E5F7A #671E7A #7A391E
square
#317A1E #1E5F7A #671E7A #7A391E
split-complementary
#317A1E #391E7A #7A1E5F
monochromatic
#0A1906 #1D4912 #317A1E #45AB2A #5FD042
Accessibility & contrast
On white
5.34
#317A1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#317A1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #317A1E
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317A1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317A1E | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E6F0D
Deuteranopia (green-blind)
#746927
Tritanopia (blue-blind)
#287668
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #317a1e; /* rgb */ color: rgb(49, 122, 30); /* oklch */ color: oklch(51.4% 0.145 140.0);
Tailwind
colors: {
custom: {
50: '#72a160',
500: '#317a1e',
950: '#000000',
},
}SCSS
$custom: #317a1e; $custom-light: #72a160; $custom-dark: #000000;
JSON
{
"hex": "#317a1e",
"rgb": {
"r": 49,
"g": 122,
"b": 30
},
"hsl": {
"h": 107.609,
"s": 60.526,
"l": 29.804
},
"oklch": {
"l": 0.51395,
"c": 0.1449,
"h": 140
},
"luminance": 0.14666
}Semantic roles & 50–950 ramp
primary
#317A1E
secondary
#9846AE
accent
#44E4C3
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79