#31975F#31975F
#31975F is a mid, vivid green. Relative luminance 0.236; OKLCH L 60.3% C 0.127 H 155.2°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #31975F |
|---|---|
| RGB | rgb(49, 151, 95) |
| HSL | hsl(147, 51%, 39%) |
| HSV | hsv(147, 68%, 59%) |
| CMYK | cmyk(67.5%, 0%, 37.1%, 40.8%) |
| CIE-LAB | lab(55.70, -42.50, 21.19) |
| CIE-LCH | lch(55.70, 47.49, 153.50°) |
| OKLab | oklab(60.35% -0.1151 0.0531) |
| OKLCH | oklch(60.35% 0.127 155.2) |
| XYZ | xyz(14.3975, 23.6109, 14.6228) |
| Luminance | 0.2361 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Greenish
#40A368
ΔE00 4.06
Sea Green
#2E8B57
ΔE00 4.14
Viridian
#1E9167
ΔE00 4.24
Teal Green
#25A36F
ΔE00 4.32
Ocean Green
#3D9973
ΔE00 4.75
Light Forest Green
#4F9153
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31975F #973169
analogous
#369731 #31975F #319792
triadic
#31975F #5F3197 #975F31
tetradic
#31975F #313697 #973169 #979231
square
#31975F #313697 #973169 #979231
split-complementary
#31975F #923197 #973136
monochromatic
#133B25 #226942 #31975F #43C27C #71D19D
Accessibility & contrast
On white
3.67
#31975F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#31975F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31975F
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31975F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31975F | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968B5B
Deuteranopia (green-blind)
#898263
Tritanopia (blue-blind)
#009589
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #31975f; /* rgb */ color: rgb(49, 151, 95); /* oklch */ color: oklch(60.3% 0.127 155.2);
Tailwind
colors: {
custom: {
50: '#76b68d',
500: '#31975f',
950: '#000000',
},
}SCSS
$custom: #31975f; $custom-light: #76b68d; $custom-dark: #000000;
JSON
{
"hex": "#31975f",
"rgb": {
"r": 49,
"g": 151,
"b": 95
},
"hsl": {
"h": 147.059,
"s": 51,
"l": 39.216
},
"oklch": {
"l": 0.60345,
"c": 0.12675,
"h": 155.2
},
"luminance": 0.23612
}Semantic roles & 50–950 ramp
primary
#31975F
secondary
#B96B96
accent
#4D9BDA
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#09110C
muted
#7B807D