#31AF8F#31AF8F
#31AF8F is a light, moderate teal. Relative luminance 0.333; OKLCH L 67.8% C 0.118 H 171.8°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #31AF8F |
|---|---|
| RGB | rgb(49, 175, 143) |
| HSL | hsl(165, 56%, 44%) |
| HSV | hsv(165, 72%, 69%) |
| CMYK | cmyk(72%, 0%, 18.3%, 31.4%) |
| CIE-LAB | lab(64.40, -41.65, 6.66) |
| CIE-LCH | lch(64.40, 42.18, 170.91°) |
| OKLab | oklab(67.83% -0.117 0.0169) |
| OKLCH | oklch(67.83% 0.118 171.8) |
| XYZ | xyz(21.5520, 33.2936, 31.2717) |
| Luminance | 0.3330 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Greeny Blue
#42B395
ΔE00 1.73
Tealish
#24BCA8
ΔE00 5.73
Bluish Green
#10A674
ΔE00 5.98
Jade
#1FA774
ΔE00 6.01
Bluey Green
#2BB179
ΔE00 6.21
Green Blue
#01C08D
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31AF8F #AF3151
analogous
#31AF50 #31AF8F #3190AF
triadic
#31AF8F #8F31AF #AF8F31
tetradic
#31AF8F #5031AF #AF3151 #90AF31
square
#31AF8F #5031AF #AF3151 #90AF31
split-complementary
#31AF8F #AF3190 #AF5031
monochromatic
#164F41 #247F68 #31AF8F #4FCEAE #7FDBC4
Accessibility & contrast
On white
2.74
#31AF8F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#31AF8F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31AF8F
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31AF8F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31AF8F | 1.00 | 2.74 | 7.66 | 7.66 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AAA38D
Deuteranopia (green-blind)
#999791
Tritanopia (blue-blind)
#00B1A6
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #31af8f; /* rgb */ color: rgb(49, 175, 143); /* oklch */ color: oklch(67.8% 0.118 171.8);
Tailwind
colors: {
custom: {
50: '#7bc7af',
500: '#31af8f',
950: '#000000',
},
}SCSS
$custom: #31af8f; $custom-light: #7bc7af; $custom-dark: #000000;
JSON
{
"hex": "#31af8f",
"rgb": {
"r": 49,
"g": 175,
"b": 143
},
"hsl": {
"h": 164.762,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.67825,
"c": 0.11818,
"h": 171.8
},
"luminance": 0.33296
}Semantic roles & 50–950 ramp
primary
#31AF8F
secondary
#C4788B
accent
#486FE0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B1310
muted
#7C827F