#31AA97#31AA97
#31AA97 is a light, moderate teal. Relative luminance 0.316; OKLCH L 66.8% C 0.108 H 180.0°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #31AA97 |
|---|---|
| RGB | rgb(49, 170, 151) |
| HSL | hsl(171, 55%, 43%) |
| HSV | hsv(171, 71%, 67%) |
| CMYK | cmyk(71.2%, 0%, 11.2%, 33.3%) |
| CIE-LAB | lab(63.04, -37.34, 0.24) |
| CIE-LCH | lch(63.04, 37.34, 179.63°) |
| OKLab | oklab(66.78% -0.108 0) |
| OKLCH | oklch(66.78% 0.108 180) |
| XYZ | xyz(21.2245, 31.6343, 34.2596) |
| Luminance | 0.3164 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Greeny Blue
#42B395
ΔE00 4.42
Lightseagreen
#20B2AA
ΔE00 4.82
Tealish
#24BCA8
ΔE00 5.08
Blue Green
#0F9B8E
ΔE00 5.20
Topaz
#13BBAF
ΔE00 5.70
Dull Teal
#5F9E8F
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31AA97 #AA3144
analogous
#31AA5B #31AA97 #3180AA
triadic
#31AA97 #9731AA #AA9731
tetradic
#31AA97 #5B31AA #AA3144 #80AA31
square
#31AA97 #5B31AA #AA3144 #80AA31
split-complementary
#31AA97 #AA3180 #AA5B31
monochromatic
#164B43 #237A6D #31AA97 #4DCCB8 #7CD9CB
Accessibility & contrast
On white
2.87
#31AA97 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.33
#31AA97 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31AA97
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31AA97 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31AA97 | 1.00 | 2.87 | 7.33 | 7.33 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3A096
Deuteranopia (green-blind)
#929399
Tritanopia (blue-blind)
#00ADA4
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #31aa97; /* rgb */ color: rgb(49, 170, 151); /* oklch */ color: oklch(66.8% 0.108 180.0);
Tailwind
colors: {
custom: {
50: '#7bc4b5',
500: '#31aa97',
950: '#000000',
},
}SCSS
$custom: #31aa97; $custom-light: #7bc4b5; $custom-dark: #000000;
JSON
{
"hex": "#31aa97",
"rgb": {
"r": 49,
"g": 170,
"b": 151
},
"hsl": {
"h": 170.579,
"s": 55.251,
"l": 42.941
},
"oklch": {
"l": 0.66783,
"c": 0.10802,
"h": 180
},
"luminance": 0.31637
}Semantic roles & 50–950 ramp
primary
#31AA97
secondary
#C27581
accent
#4961DF
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280