#2C7852#2C7852
#2C7852 is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.5% C 0.097 H 158.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7852 |
|---|---|
| RGB | rgb(44, 120, 82) |
| HSL | hsl(150, 46%, 32%) |
| HSV | hsv(150, 63%, 47%) |
| CMYK | cmyk(63.3%, 0%, 31.7%, 52.9%) |
| CIE-LAB | lab(45.05, -32.93, 14.11) |
| CIE-LCH | lch(45.05, 35.82, 156.80°) |
| OKLab | oklab(51.48% -0.0898 0.0358) |
| OKLCH | oklch(51.48% 0.097 158.3) |
| XYZ | xyz(9.2773, 14.5767, 10.3057) |
| Luminance | 0.1458 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 5.59
Jungle Green
#048243
ΔE00 6.48
Sea Green
#2E8B57
ΔE00 7.26
Darkish Green
#287C37
ΔE00 7.31
Dark Sage
#598556
ΔE00 8.55
Spruce
#0A5F38
ΔE00 8.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7852 #782C52
analogous
#2C782C #2C7852 #2C7878
triadic
#2C7852 #522C78 #78522C
tetradic
#2C7852 #2C2C78 #782C52 #78782C
square
#2C7852 #2C2C78 #782C52 #78782C
split-complementary
#2C7852 #782C78 #782C2C
monochromatic
#0B1E15 #1C4B33 #2C7852 #3CA571 #5BC38F
Accessibility & contrast
On white
5.36
#2C7852 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#2C7852 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7852
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7852 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7852 | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776F50
Deuteranopia (green-blind)
#6D6854
Tritanopia (blue-blind)
#07776E
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #2c7852; /* rgb */ color: rgb(44, 120, 82); /* oklch */ color: oklch(51.5% 0.097 158.3);
Tailwind
colors: {
custom: {
50: '#6e9f82',
500: '#2c7852',
950: '#000000',
},
}SCSS
$custom: #2c7852; $custom-light: #6e9f82; $custom-dark: #000000;
JSON
{
"hex": "#2c7852",
"rgb": {
"r": 44,
"g": 120,
"b": 82
},
"hsl": {
"h": 150,
"s": 46.341,
"l": 32.157
},
"oklch": {
"l": 0.51482,
"c": 0.09668,
"h": 158.3
},
"luminance": 0.14578
}Semantic roles & 50–950 ramp
primary
#2C7852
secondary
#A95780
accent
#5294D6
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#080E0A
muted
#7B7E7C