#2F795F#2F795F
#2F795F is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.2% C 0.085 H 166.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2F795F |
|---|---|
| RGB | rgb(47, 121, 95) |
| HSL | hsl(159, 44%, 33%) |
| HSV | hsv(159, 61%, 47%) |
| CMYK | cmyk(61.2%, 0%, 21.5%, 52.5%) |
| CIE-LAB | lab(45.78, -29.65, 7.50) |
| CIE-LCH | lch(45.78, 30.59, 165.80°) |
| OKLab | oklab(52.2% -0.0826 0.0192) |
| OKLCH | oklch(52.2% 0.085 166.9) |
| XYZ | xyz(10.0742, 15.1043, 13.2088) |
| Luminance | 0.1510 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 6.46
Dark Green Blue
#1F6357
ΔE00 8.86
Sea Green
#2E8B57
ΔE00 9.03
Viridian
#1E9167
ΔE00 9.24
Jungle Green
#048243
ΔE00 9.72
Dark Aquamarine
#017371
ΔE00 10.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F795F #792F49
analogous
#2F793A #2F795F #2F6E79
triadic
#2F795F #5F2F79 #795F2F
tetradic
#2F795F #3A2F79 #792F49 #6E792F
square
#2F795F #3A2F79 #792F49 #6E792F
split-complementary
#2F795F #792F6E #793A2F
monochromatic
#0D211A #1E4D3C #2F795F #40A582 #61C2A0
Accessibility & contrast
On white
5.22
#2F795F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#2F795F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F795F
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F795F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F795F | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#76715E
Deuteranopia (green-blind)
#6C6961
Tritanopia (blue-blind)
#027972
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2f795f; /* rgb */ color: rgb(47, 121, 95); /* oklch */ color: oklch(52.2% 0.085 166.9);
Tailwind
colors: {
custom: {
50: '#6fa08c',
500: '#2f795f',
950: '#000000',
},
}SCSS
$custom: #2f795f; $custom-light: #6fa08c; $custom-dark: #000000;
JSON
{
"hex": "#2f795f",
"rgb": {
"r": 47,
"g": 121,
"b": 95
},
"hsl": {
"h": 158.919,
"s": 44.048,
"l": 32.941
},
"oklch": {
"l": 0.52202,
"c": 0.08477,
"h": 166.9
},
"luminance": 0.15105
}Semantic roles & 50–950 ramp
primary
#2F795F
secondary
#A85B76
accent
#5481D4
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080F0C
muted
#7B7E7D