#2F795C#2F795C
#2F795C is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.1% C 0.087 H 164.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2F795C |
|---|---|
| RGB | rgb(47, 121, 92) |
| HSL | hsl(156, 44%, 33%) |
| HSV | hsv(156, 61%, 47%) |
| CMYK | cmyk(61.2%, 0%, 24%, 52.5%) |
| CIE-LAB | lab(45.70, -30.39, 9.17) |
| CIE-LCH | lch(45.70, 31.74, 163.21°) |
| OKLab | oklab(52.12% -0.0841 0.0235) |
| OKLCH | oklch(52.12% 0.087 164.4) |
| XYZ | xyz(9.9405, 15.0508, 12.5044) |
| Luminance | 0.1505 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 5.95
Sea Green
#2E8B57
ΔE00 8.35
Jungle Green
#048243
ΔE00 8.80
Viridian
#1E9167
ΔE00 8.95
Dark Green Blue
#1F6357
ΔE00 9.40
Dark Sage
#598556
ΔE00 9.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F795C #792F4C
analogous
#2F7937 #2F795C #2F7179
triadic
#2F795C #5C2F79 #795C2F
tetradic
#2F795C #372F79 #792F4C #71792F
square
#2F795C #372F79 #792F4C #71792F
split-complementary
#2F795C #792F71 #79372F
monochromatic
#0D2119 #1E4D3A #2F795C #40A57E #61C29C
Accessibility & contrast
On white
5.24
#2F795C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#2F795C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F795C
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F795C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F795C | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77715A
Deuteranopia (green-blind)
#6C695E
Tritanopia (blue-blind)
#067971
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2f795c; /* rgb */ color: rgb(47, 121, 92); /* oklch */ color: oklch(52.1% 0.087 164.4);
Tailwind
colors: {
custom: {
50: '#6fa08a',
500: '#2f795c',
950: '#000000',
},
}SCSS
$custom: #2f795c; $custom-light: #6fa08a; $custom-dark: #000000;
JSON
{
"hex": "#2f795c",
"rgb": {
"r": 47,
"g": 121,
"b": 92
},
"hsl": {
"h": 156.486,
"s": 44.048,
"l": 32.941
},
"oklch": {
"l": 0.52119,
"c": 0.0873,
"h": 164.4
},
"luminance": 0.15052
}Semantic roles & 50–950 ramp
primary
#2F795C
secondary
#A85B7A
accent
#5486D4
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080F0B
muted
#7B7E7C