#2F796B#2F796B
#2F796B is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.6% C 0.077 H 178.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2F796B |
|---|---|
| RGB | rgb(47, 121, 107) |
| HSL | hsl(169, 44%, 33%) |
| HSV | hsv(169, 61%, 47%) |
| CMYK | cmyk(61.2%, 0%, 11.6%, 52.5%) |
| CIE-LAB | lab(46.10, -26.51, 0.85) |
| CIE-LCH | lch(46.10, 26.52, 178.16°) |
| OKLab | oklab(52.57% -0.0766 0.0018) |
| OKLCH | oklch(52.57% 0.077 178.6) |
| XYZ | xyz(10.6623, 15.3395, 16.3060) |
| Luminance | 0.1534 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Dark Aquamarine
#017371
ΔE00 5.85
Bluegreen
#017A79
ΔE00 5.89
Teal
#008080
ΔE00 6.78
Deep Turquoise
#017374
ΔE00 6.92
Dark Green Blue
#1F6357
ΔE00 7.70
Greenish Blue
#0B8B87
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F796B #792F3D
analogous
#2F7946 #2F796B #2F6279
triadic
#2F796B #6B2F79 #796B2F
tetradic
#2F796B #462F79 #792F3D #62792F
square
#2F796B #462F79 #792F3D #62792F
split-complementary
#2F796B #792F62 #79462F
monochromatic
#0D211D #1E4D44 #2F796B #40A592 #61C2AF
Accessibility & contrast
On white
5.16
#2F796B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#2F796B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F796B
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F796B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F796B | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74726A
Deuteranopia (green-blind)
#696A6C
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2f796b; /* rgb */ color: rgb(47, 121, 107); /* oklch */ color: oklch(52.6% 0.077 178.6);
Tailwind
colors: {
custom: {
50: '#70a095',
500: '#2f796b',
950: '#000000',
},
}SCSS
$custom: #2f796b; $custom-light: #70a095; $custom-dark: #000000;
JSON
{
"hex": "#2f796b",
"rgb": {
"r": 47,
"g": 121,
"b": 107
},
"hsl": {
"h": 168.649,
"s": 44.048,
"l": 32.941
},
"oklch": {
"l": 0.52568,
"c": 0.07657,
"h": 178.6
},
"luminance": 0.15341
}Semantic roles & 50–950 ramp
primary
#2F796B
secondary
#A85B6A
accent
#546CD4
background
#F7F9F9
surface
#EDF2F1
border
#C8CCCB
text
#080E0D
muted
#7B7E7E