#31A58B#31A58B
#31A58B is a light, moderate teal. Relative luminance 0.294; OKLCH L 65.1% C 0.109 H 174.4°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #31A58B |
|---|---|
| RGB | rgb(49, 165, 139) |
| HSL | hsl(167, 54%, 42%) |
| HSV | hsv(167, 70%, 65%) |
| CMYK | cmyk(70.3%, 0%, 15.8%, 35.3%) |
| CIE-LAB | lab(61.16, -38.28, 4.23) |
| CIE-LCH | lch(61.16, 38.51, 173.69°) |
| OKLab | oklab(65.14% -0.1085 0.0106) |
| OKLCH | oklch(65.14% 0.109 174.4) |
| XYZ | xyz(19.3796, 29.4251, 29.0793) |
| Luminance | 0.2943 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Greeny Blue
#42B395
ΔE00 4.34
Blue Green
#0F9B8E
ΔE00 5.53
Ocean Green
#3D9973
ΔE00 5.98
Dull Teal
#5F9E8F
ΔE00 6.25
Grey Teal
#5E9B8A
ΔE00 6.29
Bluish Green
#10A674
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31A58B #A5314B
analogous
#31A551 #31A58B #3185A5
triadic
#31A58B #8B31A5 #A58B31
tetradic
#31A58B #5131A5 #A5314B #85A531
square
#31A58B #5131A5 #A5314B #85A531
split-complementary
#31A58B #A53185 #A55131
monochromatic
#15473B #237663 #31A58B #4AC9AD #79D7C2
Accessibility & contrast
On white
3.05
#31A58B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.89
#31A58B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31A58B
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31A58B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31A58B | 1.00 | 3.05 | 6.89 | 6.89 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F9A8A
Deuteranopia (green-blind)
#8F8F8D
Tritanopia (blue-blind)
#00A79D
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #31a58b; /* rgb */ color: rgb(49, 165, 139); /* oklch */ color: oklch(65.1% 0.109 174.4);
Tailwind
colors: {
custom: {
50: '#79c0ac',
500: '#31a58b',
950: '#000000',
},
}SCSS
$custom: #31a58b; $custom-light: #79c0ac; $custom-dark: #000000;
JSON
{
"hex": "#31a58b",
"rgb": {
"r": 49,
"g": 165,
"b": 139
},
"hsl": {
"h": 166.552,
"s": 54.206,
"l": 41.961
},
"oklch": {
"l": 0.6514,
"c": 0.10904,
"h": 174.4
},
"luminance": 0.29427
}Semantic roles & 50–950 ramp
primary
#31A58B
secondary
#C07284
accent
#4A6BDE
background
#F7FBFA
surface
#EEF7F4
border
#C9D0CE
text
#0A1210
muted
#7C817F