#317E11#317E11
#317E11 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.157 H 138.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #317E11 |
|---|---|
| RGB | rgb(49, 126, 17) |
| HSL | hsl(102, 76%, 28%) |
| HSV | hsv(102, 87%, 49%) |
| CMYK | cmyk(61.1%, 0%, 86.5%, 50.6%) |
| CIE-LAB | lab(46.46, -42.81, 46.77) |
| CIE-LCH | lch(46.46, 63.40, 132.47°) |
| OKLab | oklab(52.44% -0.1181 0.1029) |
| OKLCH | oklch(52.44% 0.157 138.9) |
| XYZ | xyz(8.8283, 15.6144, 3.0788) |
| Luminance | 0.1562 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.29
Dark Grass Green
#388004
ΔE00 1.68
Green
#008000
ΔE00 2.76
Forestgreen (CSS)
#228B22
ΔE00 4.94
Darkish Green
#287C37
ΔE00 6.16
Avocado
#568203
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317E11 #5E117E
analogous
#677E11 #317E11 #117E27
triadic
#317E11 #11317E #7E1131
tetradic
#317E11 #11677E #5E117E #7E2711
square
#317E11 #11677E #5E117E #7E2711
split-complementary
#317E11 #27117E #7E1167
monochromatic
#0A1B04 #1C480A #317E11 #46B418 #5EE227
Accessibility & contrast
On white
5.09
#317E11 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#317E11 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #317E11
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317E11 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317E11 | 1.00 | 5.09 | 4.12 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#28796B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #317e11; /* rgb */ color: rgb(49, 126, 17); /* oklch */ color: oklch(52.4% 0.157 138.9);
Tailwind
colors: {
custom: {
50: '#74a45b',
500: '#317e11',
950: '#000000',
},
}SCSS
$custom: #317e11; $custom-light: #74a45b; $custom-dark: #000000;
JSON
{
"hex": "#317e11",
"rgb": {
"r": 49,
"g": 126,
"b": 17
},
"hsl": {
"h": 102.385,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.5244,
"c": 0.15661,
"h": 138.9
},
"luminance": 0.15615
}Semantic roles & 50–950 ramp
primary
#317E11
secondary
#8F37B4
accent
#35F3BB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79