#31703E#31703E
#31703E is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.0% C 0.102 H 148.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #31703E |
|---|---|
| RGB | rgb(49, 112, 62) |
| HSL | hsl(132, 39%, 32%) |
| HSV | hsv(132, 56%, 44%) |
| CMYK | cmyk(56.3%, 0%, 44.6%, 56.1%) |
| CIE-LAB | lab(42.14, -32.11, 21.80) |
| CIE-LCH | lch(42.14, 38.81, 145.83°) |
| OKLab | oklab(49.02% -0.087 0.0538) |
| OKLCH | oklch(49.02% 0.102 148.3) |
| XYZ | xyz(7.9298, 12.5884, 6.5684) |
| Luminance | 0.1259 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.30
Pine
#2B5D34
ΔE00 6.46
Hunter Green
#355E3B
ΔE00 6.89
Jungle Green
#048243
ΔE00 6.95
Spruce
#0A5F38
ΔE00 6.97
Forest Green
#2D5A27
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31703E #703163
analogous
#447031 #31703E #31705E
triadic
#31703E #3E3170 #703E31
tetradic
#31703E #314470 #703163 #705E31
square
#31703E #314470 #703163 #705E31
split-complementary
#31703E #5E3170 #703144
monochromatic
#0C1B0F #1E4526 #31703E #449B56 #61BA74
Accessibility & contrast
On white
5.97
#31703E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#31703E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #31703E
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31703E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31703E | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71673A
Deuteranopia (green-blind)
#686141
Tritanopia (blue-blind)
#246E64
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #31703e; /* rgb */ color: rgb(49, 112, 62); /* oklch */ color: oklch(49.0% 0.102 148.3);
Tailwind
colors: {
custom: {
50: '#6f9a74',
500: '#31703e',
950: '#000000',
},
}SCSS
$custom: #31703e; $custom-light: #6f9a74; $custom-dark: #000000;
JSON
{
"hex": "#31703e",
"rgb": {
"r": 49,
"g": 112,
"b": 62
},
"hsl": {
"h": 132.381,
"s": 39.13,
"l": 31.569
},
"oklch": {
"l": 0.49018,
"c": 0.10227,
"h": 148.3
},
"luminance": 0.12589
}Semantic roles & 50–950 ramp
primary
#31703E
secondary
#A15C93
accent
#59B7CF
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E08
muted
#7B7E7B