#1F815C#1F815C
#1F815C is a mid, moderate teal. Relative luminance 0.168; OKLCH L 53.8% C 0.106 H 162.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #1F815C |
|---|---|
| RGB | rgb(31, 129, 92) |
| HSL | hsl(157, 61%, 31%) |
| HSV | hsv(157, 76%, 51%) |
| CMYK | cmyk(76%, 0%, 28.7%, 49.4%) |
| CIE-LAB | lab(47.96, -36.96, 12.27) |
| CIE-LCH | lch(47.96, 38.94, 161.64°) |
| OKLab | oklab(53.85% -0.1012 0.0312) |
| OKLCH | oklch(53.85% 0.106 162.8) |
| XYZ | xyz(10.3460, 16.7633, 12.8135) |
| Luminance | 0.1676 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 2.38
Sea Green
#2E8B57
ΔE00 5.27
Viridian
#1E9167
ΔE00 5.75
Jungle Green
#048243
ΔE00 6.35
Darkish Green
#287C37
ΔE00 8.59
Dark Sage
#598556
ΔE00 8.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F815C #811F44
analogous
#1F812B #1F815C #1F7581
triadic
#1F815C #5C1F81 #815C1F
tetradic
#1F815C #2B1F81 #811F44 #75811F
square
#1F815C #2B1F81 #811F44 #75811F
split-complementary
#1F815C #811F75 #812B1F
monochromatic
#071E16 #135039 #1F815C #2BB27F #47D39E
Accessibility & contrast
On white
4.82
#1F815C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#1F815C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F815C
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F815C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F815C | 1.00 | 4.82 | 4.35 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F775A
Deuteranopia (green-blind)
#726E5E
Tritanopia (blue-blind)
#008177
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #1f815c; /* rgb */ color: rgb(31, 129, 92); /* oklch */ color: oklch(53.8% 0.106 162.8);
Tailwind
colors: {
custom: {
50: '#6aa68a',
500: '#1f815c',
950: '#000000',
},
}SCSS
$custom: #1f815c; $custom-light: #6aa68a; $custom-dark: #000000;
JSON
{
"hex": "#1f815c",
"rgb": {
"r": 31,
"g": 129,
"b": 92
},
"hsl": {
"h": 157.347,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.53849,
"c": 0.10588,
"h": 162.8
},
"luminance": 0.16765
}Semantic roles & 50–950 ramp
primary
#1F815C
secondary
#B44871
accent
#4380E4
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0B
muted
#7A7F7C