#317E13#317E13
#317E13 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.156 H 139.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #317E13 |
|---|---|
| RGB | rgb(49, 126, 19) |
| HSL | hsl(103, 74%, 28%) |
| HSV | hsv(103, 85%, 49%) |
| CMYK | cmyk(61.1%, 0%, 84.9%, 50.6%) |
| CIE-LAB | lab(46.47, -42.70, 46.22) |
| CIE-LCH | lch(46.47, 62.93, 132.74°) |
| OKLab | oklab(52.45% -0.1177 0.102) |
| OKLCH | oklch(52.45% 0.156 139.1) |
| XYZ | xyz(8.8447, 15.6209, 3.1650) |
| Luminance | 0.1562 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.14
Dark Grass Green
#388004
ΔE00 1.83
Green
#008000
ΔE00 2.77
Forestgreen (CSS)
#228B22
ΔE00 4.89
Darkish Green
#287C37
ΔE00 5.98
Emerald Green
#028F1E
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317E13 #60137E
analogous
#667E13 #317E13 #137E2B
triadic
#317E13 #13317E #7E1331
tetradic
#317E13 #13667E #60137E #7E2B13
square
#317E13 #13667E #60137E #7E2B13
split-complementary
#317E13 #2B137E #7E1366
monochromatic
#0A1B04 #1C490B #317E13 #46B31B #5EDF2C
Accessibility & contrast
On white
5.09
#317E13 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#317E13 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #317E13
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317E13 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317E13 | 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)
#786C21
Tritanopia (blue-blind)
#28796B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #317e13; /* rgb */ color: rgb(49, 126, 19); /* oklch */ color: oklch(52.4% 0.156 139.1);
Tailwind
colors: {
custom: {
50: '#73a45c',
500: '#317e13',
950: '#000000',
},
}SCSS
$custom: #317e13; $custom-light: #73a45c; $custom-dark: #000000;
JSON
{
"hex": "#317e13",
"rgb": {
"r": 49,
"g": 126,
"b": 19
},
"hsl": {
"h": 103.178,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.5245,
"c": 0.15577,
"h": 139.1
},
"luminance": 0.15622
}Semantic roles & 50–950 ramp
primary
#317E13
secondary
#9139B4
accent
#37F0BD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79