#1F9871#1F9871
#1F9871 is a mid, moderate teal. Relative luminance 0.239; OKLCH L 60.6% C 0.118 H 165.6°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #1F9871 |
|---|---|
| RGB | rgb(31, 152, 113) |
| HSL | hsl(161, 66%, 36%) |
| HSV | hsv(161, 80%, 60%) |
| CMYK | cmyk(79.6%, 0%, 25.7%, 40.4%) |
| CIE-LAB | lab(56.03, -41.63, 11.52) |
| CIE-LCH | lch(56.03, 43.19, 164.53°) |
| OKLab | oklab(60.63% -0.1146 0.0294) |
| OKLCH | oklch(60.63% 0.118 165.6) |
| XYZ | xyz(14.7722, 23.9382, 19.4616) |
| Luminance | 0.2394 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Ocean Green
#3D9973
ΔE00 2.20
Viridian
#1E9167
ΔE00 2.69
Teal Green
#25A36F
ΔE00 4.52
Bluish Green
#10A674
ΔE00 4.82
Jade
#1FA774
ΔE00 5.24
Dark Sea Green
#11875D
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F9871 #981F46
analogous
#1F9834 #1F9871 #1F8298
triadic
#1F9871 #711F98 #98711F
tetradic
#1F9871 #341F98 #981F46 #82981F
square
#1F9871 #341F98 #981F46 #82981F
split-complementary
#1F9871 #981F82 #98341F
monochromatic
#0A3225 #15654B #1F9871 #29CB97 #55DCB1
Accessibility & contrast
On white
3.63
#1F9871 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#1F9871 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F9871
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F9871 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F9871 | 1.00 | 3.63 | 5.79 | 5.79 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958D6F
Deuteranopia (green-blind)
#868274
Tritanopia (blue-blind)
#00988D
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #1f9871; /* rgb */ color: rgb(31, 152, 113); /* oklch */ color: oklch(60.6% 0.118 165.6);
Tailwind
colors: {
custom: {
50: '#70b799',
500: '#1f9871',
950: '#000000',
},
}SCSS
$custom: #1f9871; $custom-light: #70b799; $custom-dark: #000000;
JSON
{
"hex": "#1f9871",
"rgb": {
"r": 31,
"g": 152,
"b": 113
},
"hsl": {
"h": 160.661,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.60633,
"c": 0.11829,
"h": 165.6
},
"luminance": 0.2394
}Semantic roles & 50–950 ramp
primary
#1F9871
secondary
#C05376
accent
#3F76E9
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E