#1F795C#1F795C
#1F795C is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.6% C 0.095 H 166.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #1F795C |
|---|---|
| RGB | rgb(31, 121, 92) |
| HSL | hsl(161, 59%, 30%) |
| HSV | hsv(161, 74%, 47%) |
| CMYK | cmyk(74.4%, 0%, 24%, 52.5%) |
| CIE-LAB | lab(45.27, -33.43, 8.50) |
| CIE-LCH | lch(45.27, 34.50, 165.73°) |
| OKLab | oklab(51.64% -0.0925 0.0217) |
| OKLCH | oklch(51.64% 0.095 166.8) |
| XYZ | xyz(9.3332, 14.7377, 12.4759) |
| Luminance | 0.1474 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 5.78
Sea Green
#2E8B57
ΔE00 8.67
Jungle Green
#048243
ΔE00 8.82
Viridian
#1E9167
ΔE00 8.98
Dark Green Blue
#1F6357
ΔE00 9.23
Spruce
#0A5F38
ΔE00 9.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F795C #791F3C
analogous
#1F792F #1F795C #1F6979
triadic
#1F795C #5C1F79 #795C1F
tetradic
#1F795C #2F1F79 #791F3C #69791F
square
#1F795C #2F1F79 #791F3C #69791F
split-complementary
#1F795C #791F69 #792F1F
monochromatic
#061813 #134837 #1F795C #2BAA81 #43CFA2
Accessibility & contrast
On white
5.32
#1F795C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#1F795C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F795C
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F795C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F795C | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#76705A
Deuteranopia (green-blind)
#6A685E
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #1f795c; /* rgb */ color: rgb(31, 121, 92); /* oklch */ color: oklch(51.6% 0.095 166.8);
Tailwind
colors: {
custom: {
50: '#69a08a',
500: '#1f795c',
950: '#000000',
},
}SCSS
$custom: #1f795c; $custom-light: #69a08a; $custom-dark: #000000;
JSON
{
"hex": "#1f795c",
"rgb": {
"r": 31,
"g": 121,
"b": 92
},
"hsl": {
"h": 160.667,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.51643,
"c": 0.09504,
"h": 166.8
},
"luminance": 0.14739
}Semantic roles & 50–950 ramp
primary
#1F795C
secondary
#AC4768
accent
#4578E2
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0B
muted
#7A7E7C