#317D2F#317D2F
#317D2F is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.136 H 142.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #317D2F |
|---|---|
| RGB | rgb(49, 125, 47) |
| HSL | hsl(118, 45%, 34%) |
| HSV | hsv(118, 62%, 49%) |
| CMYK | cmyk(60.8%, 0%, 62.4%, 51%) |
| CIE-LAB | lab(46.34, -39.88, 34.90) |
| CIE-LCH | lch(46.34, 53.00, 138.81°) |
| OKLab | oklab(52.41% -0.1085 0.082) |
| OKLCH | oklch(52.41% 0.136 142.9) |
| XYZ | xyz(9.1128, 15.5246, 5.2051) |
| Luminance | 0.1552 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.16
Tree Green
#2A7E19
ΔE00 3.14
Green
#008000
ΔE00 5.12
Jungle Green
#048243
ΔE00 5.23
Dark Grass Green
#388004
ΔE00 5.55
Forestgreen (CSS)
#228B22
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317D2F #7B2F7D
analogous
#587D2F #317D2F #2F7D54
triadic
#317D2F #2F317D #7D2F31
tetradic
#317D2F #2F587D #7B2F7D #7D542F
square
#317D2F #2F587D #7B2F7D #7D542F
split-complementary
#317D2F #542F7D #7D2F58
monochromatic
#0E240E #20511E #317D2F #42A940 #65C462
Accessibility & contrast
On white
5.12
#317D2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#317D2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #317D2F
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317D2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317D2F | 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)
#807227
Deuteranopia (green-blind)
#766B35
Tritanopia (blue-blind)
#24796C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #317d2f; /* rgb */ color: rgb(49, 125, 47); /* oklch */ color: oklch(52.4% 0.136 142.9);
Tailwind
colors: {
custom: {
50: '#72a36a',
500: '#317d2f',
950: '#000000',
},
}SCSS
$custom: #317d2f; $custom-light: #72a36a; $custom-dark: #000000;
JSON
{
"hex": "#317d2f",
"rgb": {
"r": 49,
"g": 125,
"b": 47
},
"hsl": {
"h": 118.462,
"s": 45.349,
"l": 33.725
},
"oklch": {
"l": 0.52412,
"c": 0.13594,
"h": 142.9
},
"luminance": 0.15525
}Semantic roles & 50–950 ramp
primary
#317D2F
secondary
#A95DAB
accent
#53D5D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A