#31B796#31B796
#31B796 is a light, vivid teal. Relative luminance 0.367; OKLCH L 70.1% C 0.123 H 172.1°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #31B796 |
|---|---|
| RGB | rgb(49, 183, 150) |
| HSL | hsl(165, 58%, 45%) |
| HSV | hsv(165, 73%, 72%) |
| CMYK | cmyk(73.2%, 0%, 18%, 28.2%) |
| CIE-LAB | lab(67.07, -43.32, 6.62) |
| CIE-LCH | lch(67.07, 43.83, 171.31°) |
| OKLab | oklab(70.07% -0.1218 0.0168) |
| OKLCH | oklch(70.07% 0.123 172.1) |
| XYZ | xyz(23.7023, 36.7191, 34.6866) |
| Luminance | 0.3672 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Greeny Blue
#42B395
ΔE00 1.63
Tealish
#24BCA8
ΔE00 4.60
Green Blue
#01C08D
ΔE00 4.87
Turquoise (survey)
#06C2AC
ΔE00 5.07
Greenblue
#23C48B
ΔE00 6.45
Bluey Green
#2BB179
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31B796 #B73152
analogous
#31B753 #31B796 #3195B7
triadic
#31B796 #9631B7 #B79631
tetradic
#31B796 #5331B7 #B73152 #95B731
square
#31B796 #5331B7 #B73152 #95B731
split-complementary
#31B796 #B73195 #B75331
monochromatic
#175647 #24876E #31B796 #54D1B2 #84DEC8
Accessibility & contrast
On white
2.52
#31B796 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.34
#31B796 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31B796
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31B796 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31B796 | 1.00 | 2.52 | 8.34 | 8.34 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B1AB94
Deuteranopia (green-blind)
#A09E98
Tritanopia (blue-blind)
#00B9AD
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #31b796; /* rgb */ color: rgb(49, 183, 150); /* oklch */ color: oklch(70.1% 0.123 172.1);
Tailwind
colors: {
custom: {
50: '#7dcdb4',
500: '#31b796',
950: '#000000',
},
}SCSS
$custom: #31b796; $custom-light: #7dcdb4; $custom-dark: #000000;
JSON
{
"hex": "#31b796",
"rgb": {
"r": 49,
"g": 183,
"b": 150
},
"hsl": {
"h": 165.224,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.70065,
"c": 0.12293,
"h": 172.1
},
"luminance": 0.36722
}Semantic roles & 50–950 ramp
primary
#31B796
secondary
#C87C8F
accent
#476DE1
background
#F8FCFB
surface
#EFF9F6
border
#CAD2D0
text
#0B1311
muted
#7C8280