#31996F#31996F
#31996F is a mid, moderate teal. Relative luminance 0.246; OKLCH L 61.2% C 0.115 H 162.4°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #31996F |
|---|---|
| RGB | rgb(49, 153, 111) |
| HSL | hsl(156, 51%, 40%) |
| HSV | hsv(156, 68%, 60%) |
| CMYK | cmyk(68%, 0%, 27.5%, 40%) |
| CIE-LAB | lab(56.67, -39.89, 13.60) |
| CIE-LCH | lch(56.67, 42.15, 161.18°) |
| OKLab | oklab(61.25% -0.1094 0.0347) |
| OKLCH | oklch(61.25% 0.115 162.4) |
| XYZ | xyz(15.5255, 24.5814, 18.9623) |
| Luminance | 0.2458 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Ocean Green
#3D9973
ΔE00 1.37
Viridian
#1E9167
ΔE00 3.04
Teal Green
#25A36F
ΔE00 3.67
Bluish Green
#10A674
ΔE00 4.35
Jade
#1FA774
ΔE00 4.60
Greenish
#40A368
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31996F #99315B
analogous
#31993B #31996F #318F99
triadic
#31996F #6F3199 #996F31
tetradic
#31996F #3B3199 #99315B #8F9931
square
#31996F #3B3199 #99315B #8F9931
split-complementary
#31996F #99318F #993B31
monochromatic
#133C2C #226B4D #31996F #44C390 #72D2AB
Accessibility & contrast
On white
3.55
#31996F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.92
#31996F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31996F
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31996F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31996F | 1.00 | 3.55 | 5.92 | 5.92 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978E6D
Deuteranopia (green-blind)
#898472
Tritanopia (blue-blind)
#00998E
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #31996f; /* rgb */ color: rgb(49, 153, 111); /* oklch */ color: oklch(61.2% 0.115 162.4);
Tailwind
colors: {
custom: {
50: '#76b898',
500: '#31996f',
950: '#000000',
},
}SCSS
$custom: #31996f; $custom-light: #76b898; $custom-dark: #000000;
JSON
{
"hex": "#31996f",
"rgb": {
"r": 49,
"g": 153,
"b": 111
},
"hsl": {
"h": 155.769,
"s": 51.485,
"l": 39.608
},
"oklch": {
"l": 0.61247,
"c": 0.11477,
"h": 162.4
},
"luminance": 0.24583
}Semantic roles & 50–950 ramp
primary
#31996F
secondary
#BA6C8B
accent
#4D86DB
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110D
muted
#7B807E