#2A877F#2A877F
#2A877F is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.8% C 0.086 H 186.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2A877F |
|---|---|
| RGB | rgb(42, 135, 127) |
| HSL | hsl(175, 53%, 35%) |
| HSV | hsv(175, 69%, 53%) |
| CMYK | cmyk(68.9%, 0%, 5.9%, 47.1%) |
| CIE-LAB | lab(51.10, -28.66, -3.60) |
| CIE-LCH | lch(51.10, 28.89, 187.17°) |
| OKLab | oklab(56.79% -0.0854 -0.0102) |
| OKLCH | oklch(56.79% 0.086 186.8) |
| XYZ | xyz(13.4478, 19.3510, 23.1009) |
| Luminance | 0.1935 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Greenish Blue
#0B8B87
ΔE00 2.50
Darkcyan
#008B8B
ΔE00 3.76
Dark Cyan
#0A888A
ΔE00 4.19
Teal
#008080
ΔE00 4.37
Teal (survey)
#029386
ΔE00 4.69
Dusty Teal
#4C9085
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A877F #872A32
analogous
#2A8751 #2A877F #2A6087
triadic
#2A877F #7F2A87 #877F2A
tetradic
#2A877F #512A87 #872A32 #60872A
square
#2A877F #512A87 #872A32 #60872A
split-complementary
#2A877F #872A60 #87512A
monochromatic
#0D2A27 #1B5853 #2A877F #39B6AB #5ECDC4
Accessibility & contrast
On white
4.31
#2A877F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#2A877F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A877F
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A877F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A877F | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80807F
Deuteranopia (green-blind)
#727580
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2a877f; /* rgb */ color: rgb(42, 135, 127); /* oklch */ color: oklch(56.8% 0.086 186.8);
Tailwind
colors: {
custom: {
50: '#71aaa4',
500: '#2a877f',
950: '#000000',
},
}SCSS
$custom: #2a877f; $custom-light: #71aaa4; $custom-dark: #000000;
JSON
{
"hex": "#2a877f",
"rgb": {
"r": 42,
"g": 135,
"b": 127
},
"hsl": {
"h": 174.839,
"s": 52.542,
"l": 34.706
},
"oklch": {
"l": 0.56785,
"c": 0.086,
"h": 186.8
},
"luminance": 0.19352
}Semantic roles & 50–950 ramp
primary
#2A877F
secondary
#B35A62
accent
#4C58DC
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#09100F
muted
#7B7F7F