#1F796B#1F796B
#1F796B is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.1% C 0.085 H 180.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #1F796B |
|---|---|
| RGB | rgb(31, 121, 107) |
| HSL | hsl(171, 59%, 30%) |
| HSV | hsv(171, 74%, 47%) |
| CMYK | cmyk(74.4%, 0%, 11.6%, 52.5%) |
| CIE-LAB | lab(45.67, -29.35, 0.18) |
| CIE-LCH | lch(45.67, 29.35, 179.65°) |
| OKLab | oklab(52.1% -0.0849 0) |
| OKLCH | oklch(52.1% 0.085 180) |
| XYZ | xyz(10.0550, 15.0264, 16.2775) |
| Luminance | 0.1503 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Dark Aquamarine
#017371
ΔE00 5.41
Bluegreen
#017A79
ΔE00 5.51
Teal
#008080
ΔE00 6.51
Deep Turquoise
#017374
ΔE00 6.61
Dark Green Blue
#1F6357
ΔE00 7.60
Greenish Blue
#0B8B87
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F796B #791F2D
analogous
#1F793E #1F796B #1F5A79
triadic
#1F796B #6B1F79 #796B1F
tetradic
#1F796B #3E1F79 #791F2D #5A791F
square
#1F796B #3E1F79 #791F2D #5A791F
split-complementary
#1F796B #791F5A #793E1F
monochromatic
#061816 #134840 #1F796B #2BAA96 #43CFB9
Accessibility & contrast
On white
5.24
#1F796B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#1F796B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F796B
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F796B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F796B | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74716A
Deuteranopia (green-blind)
#67686C
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #1f796b; /* rgb */ color: rgb(31, 121, 107); /* oklch */ color: oklch(52.1% 0.085 180.0);
Tailwind
colors: {
custom: {
50: '#6aa095',
500: '#1f796b',
950: '#000000',
},
}SCSS
$custom: #1f796b; $custom-light: #6aa095; $custom-dark: #000000;
JSON
{
"hex": "#1f796b",
"rgb": {
"r": 31,
"g": 121,
"b": 107
},
"hsl": {
"h": 170.667,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.521,
"c": 0.08487,
"h": 180
},
"luminance": 0.15028
}Semantic roles & 50–950 ramp
primary
#1F796B
secondary
#AC4757
accent
#455EE2
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070F0D
muted
#7A7E7E