#1F9872#1F9872
#1F9872 is a mid, moderate teal. Relative luminance 0.240; OKLCH L 60.7% C 0.117 H 166.2°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #1F9872 |
|---|---|
| RGB | rgb(31, 152, 114) |
| HSL | hsl(161, 66%, 36%) |
| HSV | hsv(161, 80%, 60%) |
| CMYK | cmyk(79.6%, 0%, 25%, 40.4%) |
| CIE-LAB | lab(56.05, -41.38, 10.99) |
| CIE-LCH | lch(56.05, 42.82, 165.13°) |
| OKLab | oklab(60.66% -0.1141 0.0281) |
| OKLCH | oklch(60.66% 0.117 166.2) |
| XYZ | xyz(14.8288, 23.9609, 19.7597) |
| Luminance | 0.2396 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Ocean Green
#3D9973
ΔE00 2.23
Viridian
#1E9167
ΔE00 2.83
Teal Green
#25A36F
ΔE00 4.70
Bluish Green
#10A674
ΔE00 4.95
Jade
#1FA774
ΔE00 5.37
Dark Sea Green
#11875D
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F9872 #981F45
analogous
#1F9835 #1F9872 #1F8198
triadic
#1F9872 #721F98 #98721F
tetradic
#1F9872 #351F98 #981F45 #81981F
square
#1F9872 #351F98 #981F45 #81981F
split-complementary
#1F9872 #981F81 #98351F
monochromatic
#0A3226 #15654C #1F9872 #29CB98 #55DCB2
Accessibility & contrast
On white
3.63
#1F9872 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#1F9872 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F9872
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F9872 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F9872 | 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)
#948D70
Deuteranopia (green-blind)
#868275
Tritanopia (blue-blind)
#00988D
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #1f9872; /* rgb */ color: rgb(31, 152, 114); /* oklch */ color: oklch(60.7% 0.117 166.2);
Tailwind
colors: {
custom: {
50: '#70b79a',
500: '#1f9872',
950: '#000000',
},
}SCSS
$custom: #1f9872; $custom-light: #70b79a; $custom-dark: #000000;
JSON
{
"hex": "#1f9872",
"rgb": {
"r": 31,
"g": 152,
"b": 114
},
"hsl": {
"h": 161.157,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.60659,
"c": 0.11748,
"h": 166.2
},
"luminance": 0.23963
}Semantic roles & 50–950 ramp
primary
#1F9872
secondary
#C05375
accent
#3F74E9
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E