#31782E#31782E
#31782E is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.130 H 142.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #31782E |
|---|---|
| RGB | rgb(49, 120, 46) |
| HSL | hsl(118, 45%, 33%) |
| HSV | hsv(118, 62%, 47%) |
| CMYK | cmyk(59.2%, 0%, 61.7%, 52.9%) |
| CIE-LAB | lab(44.64, -37.98, 33.43) |
| CIE-LCH | lch(44.64, 50.59, 138.64°) |
| OKLab | oklab(51% -0.1033 0.0787) |
| OKLCH | oklch(51% 0.13 142.7) |
| XYZ | xyz(8.4758, 14.2824, 4.8944) |
| Luminance | 0.1428 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.32
Tree Green
#2A7E19
ΔE00 4.03
Jungle Green
#048243
ΔE00 5.83
Green
#008000
ΔE00 5.99
Dark Grass Green
#388004
ΔE00 6.41
Forestgreen (CSS)
#228B22
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31782E #752E78
analogous
#56782E #31782E #2E7850
triadic
#31782E #2E3178 #782E31
tetradic
#31782E #2E5678 #752E78 #78502E
square
#31782E #2E5678 #752E78 #78502E
split-complementary
#31782E #502E78 #782E56
monochromatic
#0D200C #1F4C1D #31782E #43A43F #63C25F
Accessibility & contrast
On white
5.45
#31782E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#31782E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #31782E
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31782E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31782E | 1.00 | 5.45 | 3.86 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6D26
Deuteranopia (green-blind)
#726734
Tritanopia (blue-blind)
#267568
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #31782e; /* rgb */ color: rgb(49, 120, 46); /* oklch */ color: oklch(51.0% 0.130 142.7);
Tailwind
colors: {
custom: {
50: '#71a069',
500: '#31782e',
950: '#000000',
},
}SCSS
$custom: #31782e; $custom-light: #71a069; $custom-dark: #000000;
JSON
{
"hex": "#31782e",
"rgb": {
"r": 49,
"g": 120,
"b": 46
},
"hsl": {
"h": 117.568,
"s": 44.578,
"l": 32.549
},
"oklch": {
"l": 0.50999,
"c": 0.1299,
"h": 142.7
},
"luminance": 0.14283
}Semantic roles & 50–950 ramp
primary
#31782E
secondary
#A55AA8
accent
#54D4CF
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A