#1F7151#1F7151
#1F7151 is a mid, moderate teal. Relative luminance 0.127; OKLCH L 49.1% C 0.094 H 162.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7151 |
|---|---|
| RGB | rgb(31, 113, 81) |
| HSL | hsl(157, 57%, 28%) |
| HSV | hsv(157, 73%, 44%) |
| CMYK | cmyk(72.6%, 0%, 28.3%, 55.7%) |
| CIE-LAB | lab(42.30, -32.58, 10.84) |
| CIE-LCH | lch(42.30, 34.34, 161.59°) |
| OKLab | oklab(49.12% -0.0893 0.0276) |
| OKLCH | oklch(49.12% 0.094 162.8) |
| XYZ | xyz(7.9546, 12.6947, 9.8141) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 6.81
Dark Sea Green
#11875D
ΔE00 7.90
Hunter Green
#355E3B
ΔE00 8.11
Dark Green Blue
#1F6357
ΔE00 8.22
Pine
#2B5D34
ΔE00 8.36
Jungle Green
#048243
ΔE00 8.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7151 #711F3F
analogous
#1F7128 #1F7151 #1F6871
triadic
#1F7151 #511F71 #71511F
tetradic
#1F7151 #281F71 #711F3F #68711F
square
#1F7151 #281F71 #711F3F #68711F
split-complementary
#1F7151 #711F68 #71281F
monochromatic
#071811 #12412F #1F7151 #2CA173 #40CB94
Accessibility & contrast
On white
5.93
#1F7151 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#1F7151 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7151
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7151 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7151 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F684F
Deuteranopia (green-blind)
#646153
Tritanopia (blue-blind)
#007168
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #1f7151; /* rgb */ color: rgb(31, 113, 81); /* oklch */ color: oklch(49.1% 0.094 162.8);
Tailwind
colors: {
custom: {
50: '#679a82',
500: '#1f7151',
950: '#000000',
},
}SCSS
$custom: #1f7151; $custom-light: #679a82; $custom-dark: #000000;
JSON
{
"hex": "#1f7151",
"rgb": {
"r": 31,
"g": 113,
"b": 81
},
"hsl": {
"h": 156.585,
"s": 56.944,
"l": 28.235
},
"oklch": {
"l": 0.49119,
"c": 0.09353,
"h": 162.8
},
"luminance": 0.12696
}Semantic roles & 50–950 ramp
primary
#1F7151
secondary
#A5476C
accent
#4883E0
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E0A
muted
#7A7E7C