#40796E#40796E
#40796E is a mid, moderate teal. Relative luminance 0.159; OKLCH L 53.4% C 0.063 H 179.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #40796E |
|---|---|
| RGB | rgb(64, 121, 110) |
| HSL | hsl(168, 31%, 36%) |
| HSV | hsv(168, 47%, 47%) |
| CMYK | cmyk(47.1%, 0%, 9.1%, 52.5%) |
| CIE-LAB | lab(46.83, -21.63, 0.22) |
| CIE-LCH | lch(46.83, 21.63, 179.42°) |
| OKLab | oklab(53.37% -0.063 0.0002) |
| OKLCH | oklch(53.37% 0.063 179.8) |
| XYZ | xyz(11.7651, 15.8896, 17.1959) |
| Luminance | 0.1589 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Bluegreen
#017A79
ΔE00 6.14
Dark Aquamarine
#017371
ΔE00 6.32
Teal
#008080
ΔE00 6.82
Deep Turquoise
#017374
ΔE00 7.00
Greenish Blue
#0B8B87
ΔE00 8.31
Deep Aqua
#08787F
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40796E #79404B
analogous
#407952 #40796E #406879
triadic
#40796E #6E4079 #796E40
tetradic
#40796E #524079 #79404B #687940
square
#40796E #524079 #79404B #687940
split-complementary
#40796E #794068 #795240
monochromatic
#162925 #2B514A #40796E #55A192 #7AB9AD
Accessibility & contrast
On white
5.03
#40796E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#40796E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #40796E
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40796E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40796E | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#75736E
Deuteranopia (green-blind)
#6B6C6F
Tritanopia (blue-blind)
#297B76
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #40796e; /* rgb */ color: rgb(64, 121, 110); /* oklch */ color: oklch(53.4% 0.063 179.8);
Tailwind
colors: {
custom: {
50: '#79a097',
500: '#40796e',
950: '#000000',
},
}SCSS
$custom: #40796e; $custom-light: #79a097; $custom-dark: #000000;
JSON
{
"hex": "#40796e",
"rgb": {
"r": 64,
"g": 121,
"b": 110
},
"hsl": {
"h": 168.421,
"s": 30.811,
"l": 36.275
},
"oklch": {
"l": 0.5337,
"c": 0.06301,
"h": 179.8
},
"luminance": 0.15891
}Semantic roles & 50–950 ramp
primary
#40796E
secondary
#A4717B
accent
#6175C7
background
#F7F9F9
surface
#EEF2F2
border
#C9CCCC
text
#090E0D
muted
#7B7E7E