#1F817E#1F817E
#1F817E is a mid, moderate teal. Relative luminance 0.175; OKLCH L 54.9% C 0.086 H 191.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #1F817E |
|---|---|
| RGB | rgb(31, 129, 126) |
| HSL | hsl(178, 61%, 31%) |
| HSV | hsv(178, 76%, 51%) |
| CMYK | cmyk(76%, 0%, 2.3%, 49.4%) |
| CIE-LAB | lab(48.88, -27.58, -6.33) |
| CIE-LCH | lch(48.88, 28.29, 192.92°) |
| OKLab | oklab(54.91% -0.0842 -0.0176) |
| OKLCH | oklch(54.91% 0.086 191.8) |
| XYZ | xyz(12.1795, 17.4967, 22.4699) |
| Luminance | 0.1750 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Teal
#008080
ΔE00 1.57
Bluegreen
#017A79
ΔE00 2.91
Dark Cyan
#0A888A
ΔE00 3.30
Greenish Blue
#0B8B87
ΔE00 3.67
Darkcyan
#008B8B
ΔE00 3.87
Dark Aquamarine
#017371
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F817E #811F22
analogous
#1F814D #1F817E #1F5381
triadic
#1F817E #7E1F81 #817E1F
tetradic
#1F817E #4D1F81 #811F22 #53811F
square
#1F817E #4D1F81 #811F22 #53811F
split-complementary
#1F817E #811F53 #814D1F
monochromatic
#071E1E #13504E #1F817E #2BB2AE #47D3CF
Accessibility & contrast
On white
4.67
#1F817E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#1F817E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #1F817E
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F817E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F817E | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#797A7E
Deuteranopia (green-blind)
#6B707F
Tritanopia (blue-blind)
#008580
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #1f817e; /* rgb */ color: rgb(31, 129, 126); /* oklch */ color: oklch(54.9% 0.086 191.8);
Tailwind
colors: {
custom: {
50: '#6da6a3',
500: '#1f817e',
950: '#000000',
},
}SCSS
$custom: #1f817e; $custom-light: #6da6a3; $custom-dark: #000000;
JSON
{
"hex": "#1f817e",
"rgb": {
"r": 31,
"g": 129,
"b": 126
},
"hsl": {
"h": 178.163,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.54905,
"c": 0.08602,
"h": 191.8
},
"luminance": 0.17498
}Semantic roles & 50–950 ramp
primary
#1F817E
secondary
#B4484B
accent
#4348E4
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#080F0F
muted
#7B7F7F