#2A7F79#2A7F79
#2A7F79 is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.5% C 0.080 H 188.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7F79 |
|---|---|
| RGB | rgb(42, 127, 121) |
| HSL | hsl(176, 50%, 33%) |
| HSV | hsv(176, 67%, 50%) |
| CMYK | cmyk(66.9%, 0%, 4.7%, 50.2%) |
| CIE-LAB | lab(48.32, -26.47, -4.18) |
| CIE-LCH | lch(48.32, 26.79, 188.98°) |
| OKLab | oklab(54.47% -0.0794 -0.0117) |
| OKLCH | oklch(54.47% 0.08 188.4) |
| XYZ | xyz(11.9938, 17.0501, 20.7444) |
| Luminance | 0.1705 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Teal
#008080
ΔE00 2.93
Bluegreen
#017A79
ΔE00 3.24
Greenish Blue
#0B8B87
ΔE00 4.62
Dark Cyan
#0A888A
ΔE00 4.78
Dark Aquamarine
#017371
ΔE00 5.00
Darkcyan
#008B8B
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7F79 #7F2A30
analogous
#2A7F4E #2A7F79 #2A5A7F
triadic
#2A7F79 #792A7F #7F792A
tetradic
#2A7F79 #4E2A7F #7F2A30 #5A7F2A
square
#2A7F79 #4E2A7F #7F2A30 #5A7F2A
split-complementary
#2A7F79 #7F2A5A #7F4E2A
monochromatic
#0C2321 #1B514D #2A7F79 #39ADA5 #5BC9C1
Accessibility & contrast
On white
4.76
#2A7F79 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#2A7F79 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A7F79
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A7F79 | 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)
#787879
Deuteranopia (green-blind)
#6B6F7A
Tritanopia (blue-blind)
#00827D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #2a7f79; /* rgb */ color: rgb(42, 127, 121); /* oklch */ color: oklch(54.5% 0.080 188.4);
Tailwind
colors: {
custom: {
50: '#70a49f',
500: '#2a7f79',
950: '#000000',
},
}SCSS
$custom: #2a7f79; $custom-light: #70a49f; $custom-dark: #000000;
JSON
{
"hex": "#2a7f79",
"rgb": {
"r": 42,
"g": 127,
"b": 121
},
"hsl": {
"h": 175.765,
"s": 50.296,
"l": 33.137
},
"oklch": {
"l": 0.54473,
"c": 0.08029,
"h": 188.4
},
"luminance": 0.17051
}Semantic roles & 50–950 ramp
primary
#2A7F79
secondary
#AE575D
accent
#4E58DA
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E