#31951C#31951C
#31951C is a mid, vivid green. Relative luminance 0.222; OKLCH L 58.9% C 0.178 H 140.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #31951C |
|---|---|
| RGB | rgb(49, 149, 28) |
| HSL | hsl(110, 68%, 35%) |
| HSV | hsv(110, 81%, 58%) |
| CMYK | cmyk(67.1%, 0%, 81.2%, 41.6%) |
| CIE-LAB | lab(54.27, -50.51, 50.77) |
| CIE-LCH | lch(54.27, 71.62, 134.85°) |
| OKLab | oklab(58.92% -0.1383 0.1129) |
| OKLCH | oklch(58.92% 0.178 140.8) |
| XYZ | xyz(12.2231, 22.2305, 4.7451) |
| Luminance | 0.2223 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 2.05
Irish Green
#019529
ΔE00 3.04
Grass Green
#3F9B0B
ΔE00 3.05
Emerald Green
#028F1E
ΔE00 3.41
Grassy Green
#419C03
ΔE00 3.64
Forestgreen (CSS)
#228B22
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31951C #801C95
analogous
#6E951C #31951C #1C9544
triadic
#31951C #1C3195 #951C31
tetradic
#31951C #1C6E95 #801C95 #95441C
square
#31951C #1C6E95 #801C95 #95441C
split-complementary
#31951C #441C95 #951C6E
monochromatic
#0F2E09 #206112 #31951C #42C926 #67DE4E
Accessibility & contrast
On white
3.86
#31951C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#31951C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31951C
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31951C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31951C | 1.00 | 3.86 | 5.45 | 5.45 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#8D7F2B
Tritanopia (blue-blind)
#1F907F
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #31951c; /* rgb */ color: rgb(49, 149, 28); /* oklch */ color: oklch(58.9% 0.178 140.8);
Tailwind
colors: {
custom: {
50: '#78b563',
500: '#31951c',
950: '#000000',
},
}SCSS
$custom: #31951c; $custom-light: #78b563; $custom-dark: #000000;
JSON
{
"hex": "#31951c",
"rgb": {
"r": 49,
"g": 149,
"b": 28
},
"hsl": {
"h": 109.587,
"s": 68.362,
"l": 34.706
},
"oklch": {
"l": 0.5892,
"c": 0.17848,
"h": 140.8
},
"luminance": 0.22232
}Semantic roles & 50–950 ramp
primary
#31951C
secondary
#AC4DC0
accent
#3DEBCD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A