#31942E#31942E
#31942E is a mid, vivid green. Relative luminance 0.220; OKLCH L 58.8% C 0.167 H 142.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #31942E |
|---|---|
| RGB | rgb(49, 148, 46) |
| HSL | hsl(118, 53%, 38%) |
| HSV | hsv(118, 69%, 58%) |
| CMYK | cmyk(66.9%, 0%, 68.9%, 42%) |
| CIE-LAB | lab(54.06, -48.73, 43.91) |
| CIE-LCH | lch(54.06, 65.59, 137.98°) |
| OKLab | oklab(58.78% -0.1325 0.101) |
| OKLCH | oklch(58.78% 0.167 142.7) |
| XYZ | xyz(12.3490, 22.0288, 6.1854) |
| Luminance | 0.2203 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 2.04
Emerald Green
#028F1E
ΔE00 2.97
Kelley Green
#009337
ΔE00 3.10
True Green
#089404
ΔE00 3.40
Forestgreen (CSS)
#228B22
ΔE00 3.43
Grass Green
#3F9B0B
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31942E #912E94
analogous
#64942E #31942E #2E945E
triadic
#31942E #2E3194 #942E31
tetradic
#31942E #2E6494 #912E94 #945E2E
square
#31942E #2E6494 #912E94 #945E2E
split-complementary
#31942E #5E2E94 #942E64
monochromatic
#123711 #22651F #31942E #41C33D #6ED16B
Accessibility & contrast
On white
3.88
#31942E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#31942E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31942E
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31942E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31942E | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978620
Deuteranopia (green-blind)
#8B7E37
Tritanopia (blue-blind)
#1B907F
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #31942e; /* rgb */ color: rgb(49, 148, 46); /* oklch */ color: oklch(58.8% 0.167 142.7);
Tailwind
colors: {
custom: {
50: '#77b46c',
500: '#31942e',
950: '#000000',
},
}SCSS
$custom: #31942e; $custom-light: #77b46c; $custom-dark: #000000;
JSON
{
"hex": "#31942e",
"rgb": {
"r": 49,
"g": 148,
"b": 46
},
"hsl": {
"h": 118.235,
"s": 52.577,
"l": 38.039
},
"oklch": {
"l": 0.58782,
"c": 0.16657,
"h": 142.7
},
"luminance": 0.2203
}Semantic roles & 50–950 ramp
primary
#31942E
secondary
#B666B8
accent
#4CDCD8
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A