#317E2D#317E2D
#317E2D is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.139 H 142.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #317E2D |
|---|---|
| RGB | rgb(49, 126, 45) |
| HSL | hsl(117, 47%, 34%) |
| HSV | hsv(117, 64%, 49%) |
| CMYK | cmyk(61.1%, 0%, 64.3%, 50.6%) |
| CIE-LAB | lab(46.66, -40.52, 36.23) |
| CIE-LCH | lch(46.66, 54.35, 138.20°) |
| OKLab | oklab(52.67% -0.1103 0.0846) |
| OKLCH | oklch(52.67% 0.139 142.5) |
| XYZ | xyz(9.2006, 15.7633, 5.0399) |
| Luminance | 0.1576 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.65
Tree Green
#2A7E19
ΔE00 2.68
Green
#008000
ΔE00 4.69
Dark Grass Green
#388004
ΔE00 5.06
Forestgreen (CSS)
#228B22
ΔE00 5.17
Jungle Green
#048243
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317E2D #7A2D7E
analogous
#597E2D #317E2D #2D7E51
triadic
#317E2D #2D317E #7E2D31
tetradic
#317E2D #2D597E #7A2D7E #7E512D
square
#317E2D #2D597E #7A2D7E #7E512D
split-complementary
#317E2D #512D7E #7E2D59
monochromatic
#0E240D #1F511D #317E2D #43AB3D #64C65F
Accessibility & contrast
On white
5.06
#317E2D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#317E2D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #317E2D
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317E2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317E2D | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817324
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#247A6D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #317e2d; /* rgb */ color: rgb(49, 126, 45); /* oklch */ color: oklch(52.7% 0.139 142.5);
Tailwind
colors: {
custom: {
50: '#72a469',
500: '#317e2d',
950: '#000000',
},
}SCSS
$custom: #317e2d; $custom-light: #72a469; $custom-dark: #000000;
JSON
{
"hex": "#317e2d",
"rgb": {
"r": 49,
"g": 126,
"b": 45
},
"hsl": {
"h": 117.037,
"s": 47.368,
"l": 33.529
},
"oklch": {
"l": 0.52667,
"c": 0.139,
"h": 142.5
},
"luminance": 0.15764
}Semantic roles & 50–950 ramp
primary
#317E2D
secondary
#A85AAC
accent
#51D7D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A