#1F795B#1F795B
#1F795B is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.6% C 0.096 H 166.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #1F795B |
|---|---|
| RGB | rgb(31, 121, 91) |
| HSL | hsl(160, 59%, 30%) |
| HSV | hsv(160, 74%, 47%) |
| CMYK | cmyk(74.4%, 0%, 24.8%, 52.5%) |
| CIE-LAB | lab(45.25, -33.69, 9.06) |
| CIE-LCH | lch(45.25, 34.88, 164.95°) |
| OKLab | oklab(51.62% -0.093 0.0232) |
| OKLCH | oklch(51.62% 0.096 166) |
| XYZ | xyz(9.2897, 14.7203, 12.2472) |
| Luminance | 0.1472 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 5.62
Sea Green
#2E8B57
ΔE00 8.46
Jungle Green
#048243
ΔE00 8.52
Viridian
#1E9167
ΔE00 8.90
Dark Green Blue
#1F6357
ΔE00 9.41
Spruce
#0A5F38
ΔE00 9.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F795B #791F3D
analogous
#1F792E #1F795B #1F6A79
triadic
#1F795B #5B1F79 #795B1F
tetradic
#1F795B #2E1F79 #791F3D #6A791F
square
#1F795B #2E1F79 #791F3D #6A791F
split-complementary
#1F795B #791F6A #792E1F
monochromatic
#061812 #134836 #1F795B #2BAA80 #43CFA0
Accessibility & contrast
On white
5.32
#1F795B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#1F795B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F795B
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F795B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F795B | 1.00 | 5.32 | 3.94 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#767059
Deuteranopia (green-blind)
#6B685D
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #1f795b; /* rgb */ color: rgb(31, 121, 91); /* oklch */ color: oklch(51.6% 0.096 166.0);
Tailwind
colors: {
custom: {
50: '#69a089',
500: '#1f795b',
950: '#000000',
},
}SCSS
$custom: #1f795b; $custom-light: #69a089; $custom-dark: #000000;
JSON
{
"hex": "#1f795b",
"rgb": {
"r": 31,
"g": 121,
"b": 91
},
"hsl": {
"h": 160,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.51616,
"c": 0.09587,
"h": 166
},
"luminance": 0.14721
}Semantic roles & 50–950 ramp
primary
#1F795B
secondary
#AC4769
accent
#457AE2
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0B
muted
#7A7E7C