#317E2F#317E2F
#317E2F is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.137 H 142.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #317E2F |
|---|---|
| RGB | rgb(49, 126, 47) |
| HSL | hsl(118, 46%, 34%) |
| HSV | hsv(118, 63%, 49%) |
| CMYK | cmyk(61.1%, 0%, 62.7%, 50.6%) |
| CIE-LAB | lab(46.68, -40.28, 35.29) |
| CIE-LCH | lch(46.68, 53.55, 138.78°) |
| OKLab | oklab(52.69% -0.1095 0.0828) |
| OKLCH | oklch(52.69% 0.137 142.9) |
| XYZ | xyz(9.2401, 15.7791, 5.2475) |
| Luminance | 0.1578 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.34
Tree Green
#2A7E19
ΔE00 3.02
Green
#008000
ΔE00 4.98
Jungle Green
#048243
ΔE00 5.20
Forestgreen (CSS)
#228B22
ΔE00 5.33
Dark Grass Green
#388004
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317E2F #7C2F7E
analogous
#597E2F #317E2F #2F7E55
triadic
#317E2F #2F317E #7E2F31
tetradic
#317E2F #2F597E #7C2F7E #7E552F
square
#317E2F #2F597E #7C2F7E #7E552F
split-complementary
#317E2F #552F7E #7E2F59
monochromatic
#0E250E #20511E #317E2F #42AB40 #65C563
Accessibility & contrast
On white
5.05
#317E2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#317E2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #317E2F
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317E2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317E2F | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#247A6D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #317e2f; /* rgb */ color: rgb(49, 126, 47); /* oklch */ color: oklch(52.7% 0.137 142.9);
Tailwind
colors: {
custom: {
50: '#72a46a',
500: '#317e2f',
950: '#000000',
},
}SCSS
$custom: #317e2f; $custom-light: #72a46a; $custom-dark: #000000;
JSON
{
"hex": "#317e2f",
"rgb": {
"r": 49,
"g": 126,
"b": 47
},
"hsl": {
"h": 118.481,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.52691,
"c": 0.1373,
"h": 142.9
},
"luminance": 0.1578
}Semantic roles & 50–950 ramp
primary
#317E2F
secondary
#AA5DAC
accent
#52D5D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A