#1F795D#1F795D
#1F795D is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.7% C 0.094 H 167.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #1F795D |
|---|---|
| RGB | rgb(31, 121, 93) |
| HSL | hsl(161, 59%, 30%) |
| HSV | hsv(161, 74%, 47%) |
| CMYK | cmyk(74.4%, 0%, 23.1%, 52.5%) |
| CIE-LAB | lab(45.30, -33.18, 7.95) |
| CIE-LCH | lch(45.30, 34.11, 166.53°) |
| OKLab | oklab(51.67% -0.092 0.0203) |
| OKLCH | oklch(51.67% 0.094 167.5) |
| XYZ | xyz(9.3772, 14.7553, 12.7077) |
| Luminance | 0.1476 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 5.96
Sea Green
#2E8B57
ΔE00 8.88
Dark Green Blue
#1F6357
ΔE00 9.05
Viridian
#1E9167
ΔE00 9.07
Jungle Green
#048243
ΔE00 9.13
Spruce
#0A5F38
ΔE00 10.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F795D #791F3B
analogous
#1F7930 #1F795D #1F6879
triadic
#1F795D #5D1F79 #795D1F
tetradic
#1F795D #301F79 #791F3B #68791F
square
#1F795D #301F79 #791F3B #68791F
split-complementary
#1F795D #791F68 #79301F
monochromatic
#061813 #134838 #1F795D #2BAA82 #43CFA4
Accessibility & contrast
On white
5.31
#1F795D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#1F795D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F795D
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F795D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F795D | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#76705C
Deuteranopia (green-blind)
#6A685F
Tritanopia (blue-blind)
#007A71
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #1f795d; /* rgb */ color: rgb(31, 121, 93); /* oklch */ color: oklch(51.7% 0.094 167.5);
Tailwind
colors: {
custom: {
50: '#69a08b',
500: '#1f795d',
950: '#000000',
},
}SCSS
$custom: #1f795d; $custom-light: #69a08b; $custom-dark: #000000;
JSON
{
"hex": "#1f795d",
"rgb": {
"r": 31,
"g": 121,
"b": 93
},
"hsl": {
"h": 161.333,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.51672,
"c": 0.09422,
"h": 167.5
},
"luminance": 0.14756
}Semantic roles & 50–950 ramp
primary
#1F795D
secondary
#AC4767
accent
#4576E2
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0B
muted
#7A7E7C