#31AB97#31AB97
#31AB97 is a light, moderate teal. Relative luminance 0.320; OKLCH L 67.0% C 0.109 H 179.3°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #31AB97 |
|---|---|
| RGB | rgb(49, 171, 151) |
| HSL | hsl(170, 55%, 43%) |
| HSV | hsv(170, 71%, 67%) |
| CMYK | cmyk(71.3%, 0%, 11.7%, 32.9%) |
| CIE-LAB | lab(63.35, -37.79, 0.70) |
| CIE-LCH | lch(63.35, 37.80, 178.94°) |
| OKLab | oklab(67.04% -0.109 0.0012) |
| OKLCH | oklch(67.04% 0.109 179.3) |
| XYZ | xyz(21.4127, 32.0107, 34.3223) |
| Luminance | 0.3201 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Greeny Blue
#42B395
ΔE00 4.01
Tealish
#24BCA8
ΔE00 4.82
Lightseagreen
#20B2AA
ΔE00 4.97
Blue Green
#0F9B8E
ΔE00 5.57
Topaz
#13BBAF
ΔE00 5.64
Dull Teal
#5F9E8F
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31AB97 #AB3145
analogous
#31AB5A #31AB97 #3182AB
triadic
#31AB97 #9731AB #AB9731
tetradic
#31AB97 #5A31AB #AB3145 #82AB31
square
#31AB97 #5A31AB #AB3145 #82AB31
split-complementary
#31AB97 #AB3182 #AB5A31
monochromatic
#164C43 #237B6D #31AB97 #4DCCB7 #7DDACA
Accessibility & contrast
On white
2.84
#31AB97 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.40
#31AB97 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31AB97
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31AB97 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31AB97 | 1.00 | 2.84 | 7.40 | 7.40 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A4A196
Deuteranopia (green-blind)
#939499
Tritanopia (blue-blind)
#00AEA5
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #31ab97; /* rgb */ color: rgb(49, 171, 151); /* oklch */ color: oklch(67.0% 0.109 179.3);
Tailwind
colors: {
custom: {
50: '#7bc4b5',
500: '#31ab97',
950: '#000000',
},
}SCSS
$custom: #31ab97; $custom-light: #7bc4b5; $custom-dark: #000000;
JSON
{
"hex": "#31ab97",
"rgb": {
"r": 49,
"g": 171,
"b": 151
},
"hsl": {
"h": 170.164,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.67038,
"c": 0.10906,
"h": 179.3
},
"luminance": 0.32013
}Semantic roles & 50–950 ramp
primary
#31AB97
secondary
#C27582
accent
#4962DF
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280