#317E1F#317E1F
#317E1F is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.149 H 140.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #317E1F |
|---|---|
| RGB | rgb(49, 126, 31) |
| HSL | hsl(109, 61%, 31%) |
| HSV | hsv(109, 75%, 49%) |
| CMYK | cmyk(61.1%, 0%, 75.4%, 50.6%) |
| CIE-LAB | lab(46.54, -41.90, 42.20) |
| CIE-LCH | lch(46.54, 59.46, 134.80°) |
| OKLab | oklab(52.53% -0.1149 0.0954) |
| OKLCH | oklch(52.53% 0.149 140.3) |
| XYZ | xyz(8.9744, 15.6728, 3.8483) |
| Luminance | 0.1567 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.82
Dark Grass Green
#388004
ΔE00 3.03
Green
#008000
ΔE00 3.20
Darkish Green
#287C37
ΔE00 4.66
Forestgreen (CSS)
#228B22
ΔE00 4.70
Emerald Green
#028F1E
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317E1F #6C1F7E
analogous
#607E1F #317E1F #1F7E3C
triadic
#317E1F #1F317E #7E1F31
tetradic
#317E1F #1F607E #6C1F7E #7E3C1F
square
#317E1F #1F607E #6C1F7E #7E3C1F
split-complementary
#317E1F #3C1F7E #7E1F60
monochromatic
#0B1C07 #1E4D13 #317E1F #44AF2B #60D146
Accessibility & contrast
On white
5.08
#317E1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#317E1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #317E1F
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317E1F | 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)
#82720E
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#277A6C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #317e1f; /* rgb */ color: rgb(49, 126, 31); /* oklch */ color: oklch(52.5% 0.149 140.3);
Tailwind
colors: {
custom: {
50: '#73a461',
500: '#317e1f',
950: '#000000',
},
}SCSS
$custom: #317e1f; $custom-light: #73a461; $custom-dark: #000000;
JSON
{
"hex": "#317e1f",
"rgb": {
"r": 49,
"g": 126,
"b": 31
},
"hsl": {
"h": 108.632,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.52529,
"c": 0.14932,
"h": 140.3
},
"luminance": 0.15674
}Semantic roles & 50–950 ramp
primary
#317E1F
secondary
#9D48B1
accent
#44E4C5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A