#31975C#31975C
#31975C is a mid, vivid green. Relative luminance 0.236; OKLCH L 60.3% C 0.130 H 154.0°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #31975C |
|---|---|
| RGB | rgb(49, 151, 92) |
| HSL | hsl(145, 51%, 39%) |
| HSV | hsv(145, 68%, 59%) |
| CMYK | cmyk(67.5%, 0%, 39.1%, 40.8%) |
| CIE-LAB | lab(55.64, -43.09, 22.77) |
| CIE-LCH | lch(55.64, 48.74, 152.15°) |
| OKLab | oklab(60.28% -0.1165 0.0569) |
| OKLCH | oklch(60.28% 0.13 154) |
| XYZ | xyz(14.2638, 23.5574, 13.9185) |
| Luminance | 0.2356 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Greenish
#40A368
ΔE00 4.09
Sea Green
#2E8B57
ΔE00 4.23
Light Forest Green
#4F9153
ΔE00 4.39
Teal Green
#25A36F
ΔE00 4.68
Viridian
#1E9167
ΔE00 4.83
Ocean Green
#3D9973
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31975C #97316C
analogous
#399731 #31975C #31978F
triadic
#31975C #5C3197 #975C31
tetradic
#31975C #313997 #97316C #978F31
square
#31975C #313997 #97316C #978F31
split-complementary
#31975C #8F3197 #973139
monochromatic
#133B24 #226940 #31975C #43C279 #71D19A
Accessibility & contrast
On white
3.68
#31975C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.71
#31975C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31975C
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31975C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31975C | 1.00 | 3.68 | 5.71 | 5.71 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978B58
Deuteranopia (green-blind)
#8A8260
Tritanopia (blue-blind)
#009588
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #31975c; /* rgb */ color: rgb(49, 151, 92); /* oklch */ color: oklch(60.3% 0.130 154.0);
Tailwind
colors: {
custom: {
50: '#76b68a',
500: '#31975c',
950: '#000000',
},
}SCSS
$custom: #31975c; $custom-light: #76b68a; $custom-dark: #000000;
JSON
{
"hex": "#31975c",
"rgb": {
"r": 49,
"g": 151,
"b": 92
},
"hsl": {
"h": 145.294,
"s": 51,
"l": 39.216
},
"oklch": {
"l": 0.60283,
"c": 0.12964,
"h": 154
},
"luminance": 0.23559
}Semantic roles & 50–950 ramp
primary
#31975C
secondary
#B96B98
accent
#4D9FDA
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#09110C
muted
#7B807D