#317C12#317C12
#317C12 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.154 H 138.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #317C12 |
|---|---|
| RGB | rgb(49, 124, 18) |
| HSL | hsl(102, 75%, 28%) |
| HSV | hsv(102, 85%, 49%) |
| CMYK | cmyk(60.5%, 0%, 85.5%, 51.4%) |
| CIE-LAB | lab(45.79, -42.00, 45.88) |
| CIE-LCH | lch(45.79, 62.20, 132.47°) |
| OKLab | oklab(51.88% -0.1159 0.1012) |
| OKLCH | oklch(51.88% 0.154 138.9) |
| XYZ | xyz(8.5831, 15.1112, 3.0366) |
| Luminance | 0.1511 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.33
Dark Grass Green
#388004
ΔE00 2.20
Green
#008000
ΔE00 3.02
Forestgreen (CSS)
#228B22
ΔE00 5.56
Darkish Green
#287C37
ΔE00 5.93
Avocado
#568203
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317C12 #5D127C
analogous
#667C12 #317C12 #127C28
triadic
#317C12 #12317C #7C1231
tetradic
#317C12 #12667C #5D127C #7C2812
square
#317C12 #12667C #5D127C #7C2812
split-complementary
#317C12 #28127C #7C1266
monochromatic
#0B1B04 #1C470A #317C12 #46B11A #5EE029
Accessibility & contrast
On white
5.22
#317C12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#317C12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #317C12
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317C12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317C12 | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 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)
#776A20
Tritanopia (blue-blind)
#297769
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #317c12; /* rgb */ color: rgb(49, 124, 18); /* oklch */ color: oklch(51.9% 0.154 138.9);
Tailwind
colors: {
custom: {
50: '#73a35b',
500: '#317c12',
950: '#000000',
},
}SCSS
$custom: #317c12; $custom-light: #73a35b; $custom-dark: #000000;
JSON
{
"hex": "#317c12",
"rgb": {
"r": 49,
"g": 124,
"b": 18
},
"hsl": {
"h": 102.453,
"s": 74.648,
"l": 27.843
},
"oklch": {
"l": 0.51881,
"c": 0.15382,
"h": 138.9
},
"luminance": 0.15112
}Semantic roles & 50–950 ramp
primary
#317C12
secondary
#8E38B2
accent
#37F1BB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79