#317E2A#317E2A
#317E2A is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.141 H 142.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #317E2A |
|---|---|
| RGB | rgb(49, 126, 42) |
| HSL | hsl(115, 50%, 33%) |
| HSV | hsv(115, 67%, 49%) |
| CMYK | cmyk(61.1%, 0%, 66.7%, 50.6%) |
| CIE-LAB | lab(46.63, -40.86, 37.60) |
| CIE-LCH | lch(46.63, 55.52, 137.38°) |
| OKLab | oklab(52.63% -0.1114 0.0872) |
| OKLCH | oklch(52.63% 0.141 142) |
| XYZ | xyz(9.1449, 15.7410, 4.7464) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.20
Darkish Green
#287C37
ΔE00 3.11
Green
#008000
ΔE00 4.29
Dark Grass Green
#388004
ΔE00 4.58
Forestgreen (CSS)
#228B22
ΔE00 4.98
Jungle Green
#048243
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317E2A #772A7E
analogous
#5B7E2A #317E2A #2A7E4D
triadic
#317E2A #2A317E #7E2A31
tetradic
#317E2A #2A5B7E #772A7E #7E4D2A
square
#317E2A #2A5B7E #772A7E #7E4D2A
split-complementary
#317E2A #4D2A7E #7E2A5B
monochromatic
#0D220B #1F501B #317E2A #43AC39 #63C85A
Accessibility & contrast
On white
5.06
#317E2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#317E2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #317E2A
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317E2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317E2A | 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)
#817320
Deuteranopia (green-blind)
#776C31
Tritanopia (blue-blind)
#257A6C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #317e2a; /* rgb */ color: rgb(49, 126, 42); /* oklch */ color: oklch(52.6% 0.141 142.0);
Tailwind
colors: {
custom: {
50: '#72a467',
500: '#317e2a',
950: '#000000',
},
}SCSS
$custom: #317e2a; $custom-light: #72a467; $custom-dark: #000000;
JSON
{
"hex": "#317e2a",
"rgb": {
"r": 49,
"g": 126,
"b": 42
},
"hsl": {
"h": 115,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.52633,
"c": 0.14144,
"h": 142
},
"luminance": 0.15742
}Semantic roles & 50–950 ramp
primary
#317E2A
secondary
#A656AE
accent
#4EDACE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A