#317C16#317C16
#317C16 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.152 H 139.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #317C16 |
|---|---|
| RGB | rgb(49, 124, 22) |
| HSL | hsl(104, 70%, 29%) |
| HSV | hsv(104, 82%, 49%) |
| CMYK | cmyk(60.5%, 0%, 82.3%, 51.4%) |
| CIE-LAB | lab(45.81, -41.77, 44.69) |
| CIE-LCH | lch(45.81, 61.17, 133.07°) |
| OKLab | oklab(51.9% -0.1151 0.0993) |
| OKLCH | oklch(51.9% 0.152 139.2) |
| XYZ | xyz(8.6187, 15.1254, 3.2242) |
| Luminance | 0.1513 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.10
Dark Grass Green
#388004
ΔE00 2.49
Green
#008000
ΔE00 3.08
Forestgreen (CSS)
#228B22
ΔE00 5.47
Darkish Green
#287C37
ΔE00 5.54
Avocado
#568203
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317C16 #61167C
analogous
#647C16 #317C16 #167C2E
triadic
#317C16 #16317C #7C1631
tetradic
#317C16 #16647C #61167C #7C2E16
square
#317C16 #16647C #61167C #7C2E16
split-complementary
#317C16 #2E167C #7C1664
monochromatic
#0A1A05 #1C480D #317C16 #46B01F #5EDB32
Accessibility & contrast
On white
5.22
#317C16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#317C16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #317C16
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317C16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317C16 | 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)
#776A22
Tritanopia (blue-blind)
#287869
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #317c16; /* rgb */ color: rgb(49, 124, 22); /* oklch */ color: oklch(51.9% 0.152 139.2);
Tailwind
colors: {
custom: {
50: '#73a35d',
500: '#317c16',
950: '#000000',
},
}SCSS
$custom: #317c16; $custom-light: #73a35d; $custom-dark: #000000;
JSON
{
"hex": "#317c16",
"rgb": {
"r": 49,
"g": 124,
"b": 22
},
"hsl": {
"h": 104.118,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.51903,
"c": 0.15195,
"h": 139.2
},
"luminance": 0.15126
}Semantic roles & 50–950 ramp
primary
#317C16
secondary
#923DB1
accent
#3BEDBE
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79