#317E1D#317E1D
#317E1D is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.151 H 140.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #317E1D |
|---|---|
| RGB | rgb(49, 126, 29) |
| HSL | hsl(108, 63%, 30%) |
| HSV | hsv(108, 77%, 49%) |
| CMYK | cmyk(61.1%, 0%, 77%, 50.6%) |
| CIE-LAB | lab(46.53, -42.06, 42.95) |
| CIE-LCH | lch(46.53, 60.11, 134.40°) |
| OKLab | oklab(52.51% -0.1154 0.0967) |
| OKLCH | oklch(52.51% 0.151 140) |
| XYZ | xyz(8.9488, 15.6626, 3.7138) |
| Luminance | 0.1566 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.70
Dark Grass Green
#388004
ΔE00 2.80
Green
#008000
ΔE00 3.08
Forestgreen (CSS)
#228B22
ΔE00 4.70
Darkish Green
#287C37
ΔE00 4.91
Emerald Green
#028F1E
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317E1D #6A1D7E
analogous
#617E1D #317E1D #1D7E39
triadic
#317E1D #1D317E #7E1D31
tetradic
#317E1D #1D617E #6A1D7E #7E391D
square
#317E1D #1D617E #6A1D7E #7E391D
split-complementary
#317E1D #391D7E #7E1D61
monochromatic
#0A1B06 #1E4C12 #317E1D #44B028 #60D342
Accessibility & contrast
On white
5.08
#317E1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#317E1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #317E1D
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317E1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317E1D | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827209
Deuteranopia (green-blind)
#786C27
Tritanopia (blue-blind)
#277A6B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #317e1d; /* rgb */ color: rgb(49, 126, 29); /* oklch */ color: oklch(52.5% 0.151 140.0);
Tailwind
colors: {
custom: {
50: '#73a460',
500: '#317e1d',
950: '#000000',
},
}SCSS
$custom: #317e1d; $custom-light: #73a460; $custom-dark: #000000;
JSON
{
"hex": "#317e1d",
"rgb": {
"r": 49,
"g": 126,
"b": 29
},
"hsl": {
"h": 107.629,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.52514,
"c": 0.15056,
"h": 140
},
"luminance": 0.15663
}Semantic roles & 50–950 ramp
primary
#317E1D
secondary
#9B45B1
accent
#42E6C4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79