#317D2E#317D2E
#317D2E is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.137 H 142.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #317D2E |
|---|---|
| RGB | rgb(49, 125, 46) |
| HSL | hsl(118, 46%, 34%) |
| HSV | hsv(118, 63%, 49%) |
| CMYK | cmyk(60.8%, 0%, 63.2%, 51%) |
| CIE-LAB | lab(46.33, -40.00, 35.38) |
| CIE-LCH | lch(46.33, 53.40, 138.51°) |
| OKLab | oklab(52.4% -0.1088 0.0829) |
| OKLCH | oklch(52.4% 0.137 142.7) |
| XYZ | xyz(9.0929, 15.5166, 5.1001) |
| Luminance | 0.1552 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.33
Tree Green
#2A7E19
ΔE00 2.96
Green
#008000
ΔE00 4.98
Jungle Green
#048243
ΔE00 5.37
Dark Grass Green
#388004
ΔE00 5.38
Forestgreen (CSS)
#228B22
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317D2E #7A2E7D
analogous
#587D2E #317D2E #2E7D52
triadic
#317D2E #2E317D #7D2E31
tetradic
#317D2E #2E587D #7A2E7D #7D522E
square
#317D2E #2E587D #7A2E7D #7D522E
split-complementary
#317D2E #522E7D #7D2E58
monochromatic
#0E240D #1F501E #317D2E #43AA3E #64C561
Accessibility & contrast
On white
5.12
#317D2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#317D2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #317D2E
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317D2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317D2E | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807225
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#24796C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #317d2e; /* rgb */ color: rgb(49, 125, 46); /* oklch */ color: oklch(52.4% 0.137 142.7);
Tailwind
colors: {
custom: {
50: '#72a36a',
500: '#317d2e',
950: '#000000',
},
}SCSS
$custom: #317d2e; $custom-light: #72a36a; $custom-dark: #000000;
JSON
{
"hex": "#317d2e",
"rgb": {
"r": 49,
"g": 125,
"b": 46
},
"hsl": {
"h": 117.722,
"s": 46.199,
"l": 33.529
},
"oklch": {
"l": 0.52399,
"c": 0.1368,
"h": 142.7
},
"luminance": 0.15517
}Semantic roles & 50–950 ramp
primary
#317D2E
secondary
#A85BAB
accent
#52D6D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A