#2E795F#2E795F
#2E795F is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.2% C 0.085 H 167.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2E795F |
|---|---|
| RGB | rgb(46, 121, 95) |
| HSL | hsl(159, 45%, 33%) |
| HSV | hsv(159, 62%, 47%) |
| CMYK | cmyk(62%, 0%, 21.5%, 52.5%) |
| CIE-LAB | lab(45.74, -29.87, 7.46) |
| CIE-LCH | lch(45.74, 30.79, 165.99°) |
| OKLab | oklab(52.17% -0.0832 0.0191) |
| OKLCH | oklch(52.17% 0.085 167.1) |
| XYZ | xyz(10.0286, 15.0808, 13.2066) |
| Luminance | 0.1508 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 6.44
Dark Green Blue
#1F6357
ΔE00 8.84
Sea Green
#2E8B57
ΔE00 9.05
Viridian
#1E9167
ΔE00 9.24
Jungle Green
#048243
ΔE00 9.71
Dark Aquamarine
#017371
ΔE00 10.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E795F #792E48
analogous
#2E7939 #2E795F #2E6D79
triadic
#2E795F #5F2E79 #795F2E
tetradic
#2E795F #392E79 #792E48 #6D792E
square
#2E795F #392E79 #792E48 #6D792E
split-complementary
#2E795F #792E6D #79392E
monochromatic
#0C2019 #1D4D3C #2E795F #3FA582 #5FC2A0
Accessibility & contrast
On white
5.23
#2E795F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#2E795F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E795F
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E795F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E795F | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#76715E
Deuteranopia (green-blind)
#6C6961
Tritanopia (blue-blind)
#007972
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2e795f; /* rgb */ color: rgb(46, 121, 95); /* oklch */ color: oklch(52.2% 0.085 167.1);
Tailwind
colors: {
custom: {
50: '#6fa08c',
500: '#2e795f',
950: '#000000',
},
}SCSS
$custom: #2e795f; $custom-light: #6fa08c; $custom-dark: #000000;
JSON
{
"hex": "#2e795f",
"rgb": {
"r": 46,
"g": 121,
"b": 95
},
"hsl": {
"h": 159.2,
"s": 44.91,
"l": 32.745
},
"oklch": {
"l": 0.52167,
"c": 0.08533,
"h": 167.1
},
"luminance": 0.15082
}Semantic roles & 50–950 ramp
primary
#2E795F
secondary
#A95A75
accent
#5380D5
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080F0C
muted
#7B7E7D