#187F5F#187F5F
#187F5F is a mid, moderate teal. Relative luminance 0.162; OKLCH L 53.2% C 0.103 H 166.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #187F5F |
|---|---|
| RGB | rgb(24, 127, 95) |
| HSL | hsl(161, 68%, 30%) |
| HSV | hsv(161, 81%, 50%) |
| CMYK | cmyk(81.1%, 0%, 25.2%, 50.2%) |
| CIE-LAB | lab(47.23, -36.27, 9.49) |
| CIE-LCH | lch(47.23, 37.49, 165.35°) |
| OKLab | oklab(53.24% -0.1 0.0242) |
| OKLCH | oklch(53.24% 0.103 166.4) |
| XYZ | xyz(10.0304, 16.1979, 13.4221) |
| Luminance | 0.1620 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 3.72
Viridian
#1E9167
ΔE00 6.77
Sea Green
#2E8B57
ΔE00 6.91
Jungle Green
#048243
ΔE00 7.82
Ocean Green
#3D9973
ΔE00 9.82
Dark Sage
#598556
ΔE00 9.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#187F5F #7F1838
analogous
#187F2B #187F5F #186C7F
triadic
#187F5F #5F187F #7F5F18
tetradic
#187F5F #2B187F #7F1838 #6C7F18
square
#187F5F #2B187F #7F1838 #6C7F18
split-complementary
#187F5F #7F186C #7F2B18
monochromatic
#051A13 #0E4C38 #187F5F #22B286 #38D9A7
Accessibility & contrast
On white
4.95
#187F5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#187F5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #187F5F
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##187F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##187F5F | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C755D
Deuteranopia (green-blind)
#6F6C61
Tritanopia (blue-blind)
#007F76
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #187f5f; /* rgb */ color: rgb(24, 127, 95); /* oklch */ color: oklch(53.2% 0.103 166.4);
Tailwind
colors: {
custom: {
50: '#68a58c',
500: '#187f5f',
950: '#000000',
},
}SCSS
$custom: #187f5f; $custom-light: #68a58c; $custom-dark: #000000;
JSON
{
"hex": "#187f5f",
"rgb": {
"r": 24,
"g": 127,
"b": 95
},
"hsl": {
"h": 161.359,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.53239,
"c": 0.10293,
"h": 166.4
},
"luminance": 0.16199
}Semantic roles & 50–950 ramp
primary
#187F5F
secondary
#B33F63
accent
#3D73EB
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D