#1F877A#1F877A
#1F877A is a mid, moderate teal. Relative luminance 0.190; OKLCH L 56.4% C 0.093 H 182.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #1F877A |
|---|---|
| RGB | rgb(31, 135, 122) |
| HSL | hsl(173, 63%, 33%) |
| HSV | hsv(173, 77%, 53%) |
| CMYK | cmyk(77%, 0%, 9.6%, 47.1%) |
| CIE-LAB | lab(50.71, -31.67, -1.27) |
| CIE-LCH | lch(50.71, 31.70, 182.30°) |
| OKLab | oklab(56.36% -0.0925 -0.004) |
| OKLCH | oklch(56.36% 0.093 182.4) |
| XYZ | xyz(12.7402, 19.0228, 21.4089) |
| Luminance | 0.1902 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Greenish Blue
#0B8B87
ΔE00 3.99
Teal (survey)
#029386
ΔE00 4.26
Darkcyan
#008B8B
ΔE00 5.52
Dusty Teal
#4C9085
ΔE00 5.55
Teal
#008080
ΔE00 5.80
Dark Cyan
#0A888A
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F877A #871F2C
analogous
#1F8746 #1F877A #1F6087
triadic
#1F877A #7A1F87 #877A1F
tetradic
#1F877A #461F87 #871F2C #60871F
square
#1F877A #461F87 #871F2C #60871F
split-complementary
#1F877A #871F60 #87461F
monochromatic
#082320 #14554D #1F877A #2AB9A7 #4BD6C4
Accessibility & contrast
On white
4.37
#1F877A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#1F877A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F877A
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F877A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F877A | 1.00 | 4.37 | 4.80 | 4.80 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807F7A
Deuteranopia (green-blind)
#72747B
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #1f877a; /* rgb */ color: rgb(31, 135, 122); /* oklch */ color: oklch(56.4% 0.093 182.4);
Tailwind
colors: {
custom: {
50: '#6daaa0',
500: '#1f877a',
950: '#000000',
},
}SCSS
$custom: #1f877a; $custom-light: #6daaa0; $custom-dark: #000000;
JSON
{
"hex": "#1f877a",
"rgb": {
"r": 31,
"g": 135,
"b": 122
},
"hsl": {
"h": 172.5,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.56359,
"c": 0.09255,
"h": 182.4
},
"luminance": 0.19024
}Semantic roles & 50–950 ramp
primary
#1F877A
secondary
#B84A57
accent
#4257E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E