#317F1D#317F1D
#317F1D is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.152 H 140.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #317F1D |
|---|---|
| RGB | rgb(49, 127, 29) |
| HSL | hsl(108, 63%, 31%) |
| HSV | hsv(108, 77%, 50%) |
| CMYK | cmyk(61.4%, 0%, 77.2%, 50.2%) |
| CIE-LAB | lab(46.87, -42.44, 43.29) |
| CIE-LCH | lch(46.87, 60.62, 134.43°) |
| OKLab | oklab(52.8% -0.1164 0.0974) |
| OKLCH | oklch(52.8% 0.152 140.1) |
| XYZ | xyz(9.0774, 15.9196, 3.7566) |
| Luminance | 0.1592 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.78
Dark Grass Green
#388004
ΔE00 2.67
Green
#008000
ΔE00 2.99
Forestgreen (CSS)
#228B22
ΔE00 4.36
Darkish Green
#287C37
ΔE00 5.04
Emerald Green
#028F1E
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317F1D #6B1D7F
analogous
#627F1D #317F1D #1D7F3A
triadic
#317F1D #1D317F #7F1D31
tetradic
#317F1D #1D627F #6B1D7F #7F3A1D
square
#317F1D #1D627F #6B1D7F #7F3A1D
split-complementary
#317F1D #3A1D7F #7F1D62
monochromatic
#0B1B06 #1E4D12 #317F1D #44B128 #60D442
Accessibility & contrast
On white
5.02
#317F1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#317F1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #317F1D
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317F1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317F1D | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837309
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#277B6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #317f1d; /* rgb */ color: rgb(49, 127, 29); /* oklch */ color: oklch(52.8% 0.152 140.1);
Tailwind
colors: {
custom: {
50: '#73a560',
500: '#317f1d',
950: '#000000',
},
}SCSS
$custom: #317f1d; $custom-light: #73a560; $custom-dark: #000000;
JSON
{
"hex": "#317f1d",
"rgb": {
"r": 49,
"g": 127,
"b": 29
},
"hsl": {
"h": 107.755,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.52795,
"c": 0.1518,
"h": 140.1
},
"luminance": 0.1592
}Semantic roles & 50–950 ramp
primary
#317F1D
secondary
#9C45B2
accent
#42E6C4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79