#1F8172#1F8172
#1F8172 is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.5% C 0.090 H 180.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8172 |
|---|---|
| RGB | rgb(31, 129, 114) |
| HSL | hsl(171, 61%, 31%) |
| HSV | hsv(171, 76%, 51%) |
| CMYK | cmyk(76%, 0%, 11.6%, 49.4%) |
| CIE-LAB | lab(48.52, -31.15, 0.20) |
| CIE-LCH | lch(48.52, 31.15, 179.64°) |
| OKLab | oklab(54.49% -0.09 0) |
| OKLCH | oklch(54.49% 0.09 180) |
| XYZ | xyz(11.4511, 17.2054, 18.6338) |
| Luminance | 0.1721 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Greenish Blue
#0B8B87
ΔE00 5.95
Teal
#008080
ΔE00 6.17
Bluegreen
#017A79
ΔE00 6.19
Teal (survey)
#029386
ΔE00 6.60
Dark Aquamarine
#017371
ΔE00 7.17
Darkcyan
#008B8B
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8172 #811F2E
analogous
#1F8141 #1F8172 #1F5F81
triadic
#1F8172 #721F81 #81721F
tetradic
#1F8172 #411F81 #811F2E #5F811F
square
#1F8172 #411F81 #811F2E #5F811F
split-complementary
#1F8172 #811F5F #81411F
monochromatic
#071E1B #135046 #1F8172 #2BB29E #47D3BE
Accessibility & contrast
On white
4.73
#1F8172 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#1F8172 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F8172
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8172 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F8172 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B7971
Deuteranopia (green-blind)
#6E6F73
Tritanopia (blue-blind)
#00837C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #1f8172; /* rgb */ color: rgb(31, 129, 114); /* oklch */ color: oklch(54.5% 0.090 180.0);
Tailwind
colors: {
custom: {
50: '#6ca69a',
500: '#1f8172',
950: '#000000',
},
}SCSS
$custom: #1f8172; $custom-light: #6ca69a; $custom-dark: #000000;
JSON
{
"hex": "#1f8172",
"rgb": {
"r": 31,
"g": 129,
"b": 114
},
"hsl": {
"h": 170.816,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.5449,
"c": 0.09004,
"h": 180
},
"luminance": 0.17207
}Semantic roles & 50–950 ramp
primary
#1F8172
secondary
#B44858
accent
#435CE4
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0E
muted
#7A7F7E