#317C17#317C17
#317C17 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.151 H 139.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #317C17 |
|---|---|
| RGB | rgb(49, 124, 23) |
| HSL | hsl(105, 69%, 29%) |
| HSV | hsv(105, 81%, 49%) |
| CMYK | cmyk(60.5%, 0%, 81.5%, 51.4%) |
| CIE-LAB | lab(45.81, -41.71, 44.37) |
| CIE-LCH | lch(45.81, 60.89, 133.23°) |
| OKLab | oklab(51.91% -0.1148 0.0987) |
| OKLCH | oklch(51.91% 0.151 139.3) |
| XYZ | xyz(8.6286, 15.1294, 3.2760) |
| Luminance | 0.1513 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.05
Dark Grass Green
#388004
ΔE00 2.57
Green
#008000
ΔE00 3.10
Darkish Green
#287C37
ΔE00 5.43
Forestgreen (CSS)
#228B22
ΔE00 5.46
Avocado
#568203
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317C17 #62177C
analogous
#647C17 #317C17 #177C30
triadic
#317C17 #17317C #7C1731
tetradic
#317C17 #17647C #62177C #7C3017
square
#317C17 #17647C #62177C #7C3017
split-complementary
#317C17 #30177C #7C1764
monochromatic
#0A1A05 #1D480D #317C17 #45B021 #5FD934
Accessibility & contrast
On white
5.22
#317C17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#317C17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #317C17
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317C17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317C17 | 1.00 | 5.22 | 4.03 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#287869
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #317c17; /* rgb */ color: rgb(49, 124, 23); /* oklch */ color: oklch(51.9% 0.151 139.3);
Tailwind
colors: {
custom: {
50: '#73a35d',
500: '#317c17',
950: '#000000',
},
}SCSS
$custom: #317c17; $custom-light: #73a35d; $custom-dark: #000000;
JSON
{
"hex": "#317c17",
"rgb": {
"r": 49,
"g": 124,
"b": 23
},
"hsl": {
"h": 104.554,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.51909,
"c": 0.15145,
"h": 139.3
},
"luminance": 0.1513
}Semantic roles & 50–950 ramp
primary
#317C17
secondary
#933EB1
accent
#3CECBE
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79