#317F2E#317F2E
#317F2E is a mid, vivid green. Relative luminance 0.160; OKLCH L 53.0% C 0.140 H 142.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #317F2E |
|---|---|
| RGB | rgb(49, 127, 46) |
| HSL | hsl(118, 47%, 34%) |
| HSV | hsv(118, 64%, 50%) |
| CMYK | cmyk(61.4%, 0%, 63.8%, 50.2%) |
| CIE-LAB | lab(47.01, -40.80, 36.15) |
| CIE-LCH | lch(47.01, 54.51, 138.46°) |
| OKLab | oklab(52.96% -0.111 0.0845) |
| OKLCH | oklch(52.96% 0.14 142.7) |
| XYZ | xyz(9.3486, 16.0281, 5.1853) |
| Luminance | 0.1603 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.70
Tree Green
#2A7E19
ΔE00 2.78
Green
#008000
ΔE00 4.72
Forestgreen (CSS)
#228B22
ΔE00 4.90
Dark Grass Green
#388004
ΔE00 5.10
Jungle Green
#048243
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317F2E #7C2E7F
analogous
#5A7F2E #317F2E #2E7F54
triadic
#317F2E #2E317F #7F2E31
tetradic
#317F2E #2E5A7F #7C2E7F #7F542E
square
#317F2E #2E5A7F #7C2E7F #7F542E
split-complementary
#317F2E #542E7F #7F2E5A
monochromatic
#0E250D #20521E #317F2E #42AC3E #65C661
Accessibility & contrast
On white
4.99
#317F2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#317F2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #317F2E
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317F2E | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827425
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#247B6E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #317f2e; /* rgb */ color: rgb(49, 127, 46); /* oklch */ color: oklch(53.0% 0.140 142.7);
Tailwind
colors: {
custom: {
50: '#72a56a',
500: '#317f2e',
950: '#000000',
},
}SCSS
$custom: #317f2e; $custom-light: #72a56a; $custom-dark: #000000;
JSON
{
"hex": "#317f2e",
"rgb": {
"r": 49,
"g": 127,
"b": 46
},
"hsl": {
"h": 117.778,
"s": 46.821,
"l": 33.922
},
"oklch": {
"l": 0.52958,
"c": 0.13951,
"h": 142.7
},
"luminance": 0.16029
}Semantic roles & 50–950 ramp
primary
#317F2E
secondary
#AA5CAD
accent
#51D6D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A