#317B2B#317B2B
#317B2B is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.137 H 142.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #317B2B |
|---|---|
| RGB | rgb(49, 123, 43) |
| HSL | hsl(116, 48%, 33%) |
| HSV | hsv(116, 65%, 48%) |
| CMYK | cmyk(60.2%, 0%, 65%, 51.8%) |
| CIE-LAB | lab(45.62, -39.55, 36.01) |
| CIE-LCH | lch(45.62, 53.49, 137.68°) |
| OKLab | oklab(51.8% -0.1078 0.0839) |
| OKLCH | oklch(51.8% 0.137 142.1) |
| XYZ | xyz(8.7852, 14.9925, 4.7159) |
| Luminance | 0.1499 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.63
Tree Green
#2A7E19
ΔE00 2.82
Green
#008000
ΔE00 4.91
Dark Grass Green
#388004
ΔE00 5.25
Jungle Green
#048243
ΔE00 5.90
Forestgreen (CSS)
#228B22
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317B2B #752B7B
analogous
#597B2B #317B2B #2B7B4D
triadic
#317B2B #2B317B #7B2B31
tetradic
#317B2B #2B597B #752B7B #7B4D2B
square
#317B2B #2B597B #752B7B #7B4D2B
split-complementary
#317B2B #4D2B7B #7B2B59
monochromatic
#0D200B #1F4E1B #317B2B #43A83B #63C65B
Accessibility & contrast
On white
5.25
#317B2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#317B2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #317B2B
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317B2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317B2B | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7022
Deuteranopia (green-blind)
#746A32
Tritanopia (blue-blind)
#26776A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #317b2b; /* rgb */ color: rgb(49, 123, 43); /* oklch */ color: oklch(51.8% 0.137 142.1);
Tailwind
colors: {
custom: {
50: '#72a268',
500: '#317b2b',
950: '#000000',
},
}SCSS
$custom: #317b2b; $custom-light: #72a268; $custom-dark: #000000;
JSON
{
"hex": "#317b2b",
"rgb": {
"r": 49,
"g": 123,
"b": 43
},
"hsl": {
"h": 115.5,
"s": 48.193,
"l": 32.549
},
"oklch": {
"l": 0.51804,
"c": 0.1366,
"h": 142.1
},
"luminance": 0.14993
}Semantic roles & 50–950 ramp
primary
#317B2B
secondary
#A556AB
accent
#50D8CE
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A