#317D1C#317D1C
#317D1C is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.150 H 139.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #317D1C |
|---|---|
| RGB | rgb(49, 125, 28) |
| HSL | hsl(107, 63%, 30%) |
| HSV | hsv(107, 78%, 49%) |
| CMYK | cmyk(60.8%, 0%, 77.6%, 51%) |
| CIE-LAB | lab(46.18, -41.75, 42.98) |
| CIE-LCH | lch(46.18, 59.91, 134.17°) |
| OKLab | oklab(52.23% -0.1146 0.0966) |
| OKLCH | oklch(52.23% 0.15 139.9) |
| XYZ | xyz(8.8094, 15.4033, 3.6073) |
| Luminance | 0.1540 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.77
Dark Grass Green
#388004
ΔE00 2.85
Green
#008000
ΔE00 3.15
Darkish Green
#287C37
ΔE00 4.93
Forestgreen (CSS)
#228B22
ΔE00 5.05
Emerald Green
#028F1E
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317D1C #681C7D
analogous
#627D1C #317D1C #1C7D37
triadic
#317D1C #1C317D #7D1C31
tetradic
#317D1C #1C627D #681C7D #7D371C
square
#317D1C #1C627D #681C7D #7D371C
split-complementary
#317D1C #371C7D #7D1C62
monochromatic
#0A1906 #1D4B11 #317D1C #45AF27 #60D43F
Accessibility & contrast
On white
5.15
#317D1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#317D1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #317D1C
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317D1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317D1C | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817107
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#27796A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #317d1c; /* rgb */ color: rgb(49, 125, 28); /* oklch */ color: oklch(52.2% 0.150 139.9);
Tailwind
colors: {
custom: {
50: '#73a360',
500: '#317d1c',
950: '#000000',
},
}SCSS
$custom: #317d1c; $custom-light: #73a360; $custom-dark: #000000;
JSON
{
"hex": "#317d1c",
"rgb": {
"r": 49,
"g": 125,
"b": 28
},
"hsl": {
"h": 107.01,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.52225,
"c": 0.14991,
"h": 139.9
},
"luminance": 0.15404
}Semantic roles & 50–950 ramp
primary
#317D1C
secondary
#9944B1
accent
#41E6C3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79