#2A877B#2A877B
#2A877B is a mid, moderate teal. Relative luminance 0.193; OKLCH L 56.6% C 0.087 H 182.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2A877B |
|---|---|
| RGB | rgb(42, 135, 123) |
| HSL | hsl(172, 53%, 35%) |
| HSV | hsv(172, 69%, 53%) |
| CMYK | cmyk(68.9%, 0%, 8.9%, 47.1%) |
| CIE-LAB | lab(50.98, -29.81, -1.44) |
| CIE-LCH | lch(50.98, 29.85, 182.77°) |
| OKLab | oklab(56.65% -0.0873 -0.0044) |
| OKLCH | oklch(56.65% 0.087 182.9) |
| XYZ | xyz(13.1923, 19.2488, 21.7552) |
| Luminance | 0.1925 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Greenish Blue
#0B8B87
ΔE00 3.77
Teal (survey)
#029386
ΔE00 4.39
Dusty Teal
#4C9085
ΔE00 4.89
Darkcyan
#008B8B
ΔE00 5.24
Teal
#008080
ΔE00 5.62
Dark Cyan
#0A888A
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A877B #872A36
analogous
#2A874D #2A877B #2A6587
triadic
#2A877B #7B2A87 #877B2A
tetradic
#2A877B #4D2A87 #872A36 #65872A
square
#2A877B #4D2A87 #872A36 #65872A
split-complementary
#2A877B #872A65 #874D2A
monochromatic
#0D2A26 #1B5850 #2A877B #39B6A6 #5ECDBF
Accessibility & contrast
On white
4.33
#2A877B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#2A877B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A877B
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A877B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A877B | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817F7B
Deuteranopia (green-blind)
#73757C
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2a877b; /* rgb */ color: rgb(42, 135, 123); /* oklch */ color: oklch(56.6% 0.087 182.9);
Tailwind
colors: {
custom: {
50: '#71aaa1',
500: '#2a877b',
950: '#000000',
},
}SCSS
$custom: #2a877b; $custom-light: #71aaa1; $custom-dark: #000000;
JSON
{
"hex": "#2a877b",
"rgb": {
"r": 42,
"g": 135,
"b": 123
},
"hsl": {
"h": 172.258,
"s": 52.542,
"l": 34.706
},
"oklch": {
"l": 0.5665,
"c": 0.08743,
"h": 182.9
},
"luminance": 0.1925
}Semantic roles & 50–950 ramp
primary
#2A877B
secondary
#B35A65
accent
#4C5EDC
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E