#31998E#31998E
#31998E is a light, moderate teal. Relative luminance 0.254; OKLCH L 62.1% C 0.095 H 185.0°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #31998E |
|---|---|
| RGB | rgb(49, 153, 142) |
| HSL | hsl(174, 51%, 40%) |
| HSV | hsv(174, 68%, 60%) |
| CMYK | cmyk(68%, 0%, 7.2%, 40%) |
| CIE-LAB | lab(57.45, -31.94, -2.87) |
| CIE-LCH | lch(57.45, 32.07, 185.13°) |
| OKLab | oklab(62.15% -0.0944 -0.0083) |
| OKLCH | oklch(62.15% 0.095 185) |
| XYZ | xyz(17.5381, 25.3865, 29.5617) |
| Luminance | 0.2539 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Blue Green
#0F9B8E
ΔE00 1.81
Sea
#3C9992
ΔE00 1.87
Teal (survey)
#029386
ΔE00 3.05
Dusty Teal
#4C9085
ΔE00 4.18
Dull Teal
#5F9E8F
ΔE00 5.51
Grey Teal
#5E9B8A
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31998E #99313C
analogous
#31995A #31998E #317099
triadic
#31998E #8E3199 #998E31
tetradic
#31998E #5A3199 #99313C #709931
square
#31998E #5A3199 #99313C #709931
split-complementary
#31998E #993170 #995A31
monochromatic
#133C38 #226B63 #31998E #44C3B6 #72D2C8
Accessibility & contrast
On white
3.46
#31998E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#31998E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31998E
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31998E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31998E | 1.00 | 3.46 | 6.08 | 6.08 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91908E
Deuteranopia (green-blind)
#82858F
Tritanopia (blue-blind)
#009C95
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #31998e; /* rgb */ color: rgb(49, 153, 142); /* oklch */ color: oklch(62.1% 0.095 185.0);
Tailwind
colors: {
custom: {
50: '#78b7af',
500: '#31998e',
950: '#000000',
},
}SCSS
$custom: #31998e; $custom-light: #78b7af; $custom-dark: #000000;
JSON
{
"hex": "#31998e",
"rgb": {
"r": 49,
"g": 153,
"b": 142
},
"hsl": {
"h": 173.654,
"s": 51.485,
"l": 39.608
},
"oklch": {
"l": 0.62147,
"c": 0.09475,
"h": 185
},
"luminance": 0.25388
}Semantic roles & 50–950 ramp
primary
#31998E
secondary
#BA6C74
accent
#4D5CDB
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A1110
muted
#7C807F