#2F7F74#2F7F74
#2F7F74 is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.5% C 0.079 H 182.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7F74 |
|---|---|
| RGB | rgb(47, 127, 116) |
| HSL | hsl(172, 46%, 34%) |
| HSV | hsv(172, 63%, 50%) |
| CMYK | cmyk(63%, 0%, 8.7%, 50.2%) |
| CIE-LAB | lab(48.31, -26.99, -1.23) |
| CIE-LCH | lch(48.31, 27.02, 182.61°) |
| OKLab | oklab(54.46% -0.0791 -0.0037) |
| OKLCH | oklch(54.46% 0.079 182.7) |
| XYZ | xyz(11.9126, 17.0428, 19.1814) |
| Luminance | 0.1704 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Bluegreen
#017A79
ΔE00 4.93
Teal
#008080
ΔE00 4.95
Greenish Blue
#0B8B87
ΔE00 5.57
Dark Aquamarine
#017371
ΔE00 6.04
Dark Cyan
#0A888A
ΔE00 6.53
Darkcyan
#008B8B
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7F74 #7F2F3A
analogous
#2F7F4C #2F7F74 #2F627F
triadic
#2F7F74 #742F7F #7F742F
tetradic
#2F7F74 #4C2F7F #7F2F3A #627F2F
square
#2F7F74 #4C2F7F #7F2F3A #627F2F
split-complementary
#2F7F74 #7F2F62 #7F4C2F
monochromatic
#0E2622 #1E524B #2F7F74 #40AC9D #63C5B8
Accessibility & contrast
On white
4.76
#2F7F74 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#2F7F74 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7F74
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7F74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7F74 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#797874
Deuteranopia (green-blind)
#6D6F75
Tritanopia (blue-blind)
#00817C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #2f7f74; /* rgb */ color: rgb(47, 127, 116); /* oklch */ color: oklch(54.5% 0.079 182.7);
Tailwind
colors: {
custom: {
50: '#71a49c',
500: '#2f7f74',
950: '#000000',
},
}SCSS
$custom: #2f7f74; $custom-light: #71a49c; $custom-dark: #000000;
JSON
{
"hex": "#2f7f74",
"rgb": {
"r": 47,
"g": 127,
"b": 116
},
"hsl": {
"h": 171.75,
"s": 45.977,
"l": 34.118
},
"oklch": {
"l": 0.54456,
"c": 0.07919,
"h": 182.7
},
"luminance": 0.17044
}Semantic roles & 50–950 ramp
primary
#2F7F74
secondary
#AC5E68
accent
#5264D6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E