#187F4F#187F4F
#187F4F is a mid, moderate teal. Relative luminance 0.159; OKLCH L 52.8% C 0.118 H 157.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #187F4F |
|---|---|
| RGB | rgb(24, 127, 79) |
| HSL | hsl(152, 68%, 30%) |
| HSV | hsv(152, 81%, 50%) |
| CMYK | cmyk(81.1%, 0%, 37.8%, 50.2%) |
| CIE-LAB | lab(46.89, -40.05, 18.26) |
| CIE-LCH | lch(46.89, 44.02, 155.49°) |
| OKLab | oklab(52.84% -0.1082 0.0458) |
| OKLCH | oklch(52.84% 0.118 157) |
| XYZ | xyz(9.3764, 15.9363, 9.9775) |
| Luminance | 0.1594 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Jungle Green
#048243
ΔE00 3.39
Dark Sea Green
#11875D
ΔE00 3.63
Sea Green
#2E8B57
ΔE00 4.73
Darkish Green
#287C37
ΔE00 5.56
Viridian
#1E9167
ΔE00 7.09
Dark Sage
#598556
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#187F4F #7F1848
analogous
#187F1C #187F4F #187C7F
triadic
#187F4F #4F187F #7F4F18
tetradic
#187F4F #1C187F #7F1848 #7C7F18
square
#187F4F #1C187F #7F1848 #7C7F18
split-complementary
#187F4F #7F187C #7F1C18
monochromatic
#051A10 #0E4C2F #187F4F #22B26F #38D98E
Accessibility & contrast
On white
5.02
#187F4F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#187F4F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #187F4F
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##187F4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##187F4F | 1.00 | 5.02 | 4.19 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E744C
Deuteranopia (green-blind)
#726C52
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #187f4f; /* rgb */ color: rgb(24, 127, 79); /* oklch */ color: oklch(52.8% 0.118 157.0);
Tailwind
colors: {
custom: {
50: '#68a580',
500: '#187f4f',
950: '#000000',
},
}SCSS
$custom: #187f4f; $custom-light: #68a580; $custom-dark: #000000;
JSON
{
"hex": "#187f4f",
"rgb": {
"r": 24,
"g": 127,
"b": 79
},
"hsl": {
"h": 152.039,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.52844,
"c": 0.11752,
"h": 157
},
"luminance": 0.15937
}Semantic roles & 50–950 ramp
primary
#187F4F
secondary
#B33F75
accent
#3D8EEB
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C