#2F795E#2F795E
#2F795E is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.2% C 0.086 H 166.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2F795E |
|---|---|
| RGB | rgb(47, 121, 94) |
| HSL | hsl(158, 44%, 33%) |
| HSV | hsv(158, 61%, 47%) |
| CMYK | cmyk(61.2%, 0%, 22.3%, 52.5%) |
| CIE-LAB | lab(45.75, -29.90, 8.06) |
| CIE-LCH | lch(45.75, 30.97, 164.91°) |
| OKLab | oklab(52.17% -0.0831 0.0207) |
| OKLCH | oklch(52.17% 0.086 166) |
| XYZ | xyz(10.0290, 15.0862, 12.9709) |
| Luminance | 0.1509 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 6.28
Sea Green
#2E8B57
ΔE00 8.79
Dark Green Blue
#1F6357
ΔE00 9.03
Viridian
#1E9167
ΔE00 9.13
Jungle Green
#048243
ΔE00 9.41
Dark Sage
#598556
ΔE00 9.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F795E #792F4A
analogous
#2F7939 #2F795E #2F6F79
triadic
#2F795E #5E2F79 #795E2F
tetradic
#2F795E #392F79 #792F4A #6F792F
square
#2F795E #392F79 #792F4A #6F792F
split-complementary
#2F795E #792F6F #79392F
monochromatic
#0D211A #1E4D3C #2F795E #40A580 #61C29E
Accessibility & contrast
On white
5.23
#2F795E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#2F795E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F795E
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F795E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F795E | 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)
#76715D
Deuteranopia (green-blind)
#6C6960
Tritanopia (blue-blind)
#037971
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2f795e; /* rgb */ color: rgb(47, 121, 94); /* oklch */ color: oklch(52.2% 0.086 166.0);
Tailwind
colors: {
custom: {
50: '#6fa08b',
500: '#2f795e',
950: '#000000',
},
}SCSS
$custom: #2f795e; $custom-light: #6fa08b; $custom-dark: #000000;
JSON
{
"hex": "#2f795e",
"rgb": {
"r": 47,
"g": 121,
"b": 94
},
"hsl": {
"h": 158.108,
"s": 44.048,
"l": 32.941
},
"oklch": {
"l": 0.52174,
"c": 0.08559,
"h": 166
},
"luminance": 0.15087
}Semantic roles & 50–950 ramp
primary
#2F795E
secondary
#A85B77
accent
#5483D4
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080F0C
muted
#7B7E7D