#2C7871#2C7871
#2C7871 is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.4% C 0.075 H 186.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7871 |
|---|---|
| RGB | rgb(44, 120, 113) |
| HSL | hsl(174, 46%, 32%) |
| HSV | hsv(174, 63%, 47%) |
| CMYK | cmyk(63.3%, 0%, 5.8%, 52.9%) |
| CIE-LAB | lab(45.85, -24.92, -3.08) |
| CIE-LCH | lch(45.85, 25.11, 187.06°) |
| OKLab | oklab(52.4% -0.0742 -0.0087) |
| OKLCH | oklch(52.4% 0.075 186.7) |
| XYZ | xyz(10.7345, 15.1595, 17.9799) |
| Luminance | 0.1516 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Bluegreen
#017A79
ΔE00 3.28
Dark Aquamarine
#017371
ΔE00 3.47
Deep Turquoise
#017374
ΔE00 4.23
Teal
#008080
ΔE00 4.51
Deep Aqua
#08787F
ΔE00 6.02
Dark Aqua
#05696B
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7871 #782C33
analogous
#2C784B #2C7871 #2C5978
triadic
#2C7871 #712C78 #78712C
tetradic
#2C7871 #4B2C78 #782C33 #59782C
square
#2C7871 #4B2C78 #782C33 #59782C
split-complementary
#2C7871 #782C59 #784B2C
monochromatic
#0B1E1D #1C4B47 #2C7871 #3CA59B #5BC3B9
Accessibility & contrast
On white
5.21
#2C7871 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#2C7871 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7871
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7871 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#727271
Deuteranopia (green-blind)
#666972
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2c7871; /* rgb */ color: rgb(44, 120, 113); /* oklch */ color: oklch(52.4% 0.075 186.7);
Tailwind
colors: {
custom: {
50: '#6f9f99',
500: '#2c7871',
950: '#000000',
},
}SCSS
$custom: #2c7871; $custom-light: #6f9f99; $custom-dark: #000000;
JSON
{
"hex": "#2c7871",
"rgb": {
"r": 44,
"g": 120,
"b": 113
},
"hsl": {
"h": 174.474,
"s": 46.341,
"l": 32.157
},
"oklch": {
"l": 0.52402,
"c": 0.07475,
"h": 186.7
},
"luminance": 0.15161
}Semantic roles & 50–950 ramp
primary
#2C7871
secondary
#A9575E
accent
#525ED6
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E