#2A877A#2A877A
#2A877A is a mid, moderate teal. Relative luminance 0.192; OKLCH L 56.6% C 0.088 H 181.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2A877A |
|---|---|
| RGB | rgb(42, 135, 122) |
| HSL | hsl(172, 53%, 35%) |
| HSV | hsv(172, 69%, 53%) |
| CMYK | cmyk(68.9%, 0%, 9.6%, 47.1%) |
| CIE-LAB | lab(50.95, -30.10, -0.90) |
| CIE-LCH | lch(50.95, 30.11, 181.72°) |
| OKLab | oklab(56.62% -0.0878 -0.0029) |
| OKLCH | oklch(56.62% 0.088 181.9) |
| XYZ | xyz(13.1300, 19.2239, 21.4272) |
| Luminance | 0.1923 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Greenish Blue
#0B8B87
ΔE00 4.13
Teal (survey)
#029386
ΔE00 4.41
Dusty Teal
#4C9085
ΔE00 4.97
Darkcyan
#008B8B
ΔE00 5.62
Teal
#008080
ΔE00 5.95
Dark Cyan
#0A888A
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A877A #872A37
analogous
#2A874C #2A877A #2A6687
triadic
#2A877A #7A2A87 #877A2A
tetradic
#2A877A #4C2A87 #872A37 #66872A
square
#2A877A #4C2A87 #872A37 #66872A
split-complementary
#2A877A #872A66 #874C2A
monochromatic
#0D2A26 #1B5850 #2A877A #39B6A4 #5ECDBE
Accessibility & contrast
On white
4.33
#2A877A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#2A877A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A877A
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A877A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A877A | 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)
#817F7A
Deuteranopia (green-blind)
#73757B
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2a877a; /* rgb */ color: rgb(42, 135, 122); /* oklch */ color: oklch(56.6% 0.088 181.9);
Tailwind
colors: {
custom: {
50: '#71aaa0',
500: '#2a877a',
950: '#000000',
},
}SCSS
$custom: #2a877a; $custom-light: #71aaa0; $custom-dark: #000000;
JSON
{
"hex": "#2a877a",
"rgb": {
"r": 42,
"g": 135,
"b": 122
},
"hsl": {
"h": 171.613,
"s": 52.542,
"l": 34.706
},
"oklch": {
"l": 0.56617,
"c": 0.08785,
"h": 181.9
},
"luminance": 0.19225
}Semantic roles & 50–950 ramp
primary
#2A877A
secondary
#B35A66
accent
#4C60DC
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E