#42987E#42987E
#42987E is a mid, moderate teal. Relative luminance 0.251; OKLCH L 61.9% C 0.093 H 170.6°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #42987E |
|---|---|
| RGB | rgb(66, 152, 126) |
| HSL | hsl(162, 39%, 43%) |
| HSV | hsv(162, 57%, 60%) |
| CMYK | cmyk(56.6%, 0%, 17.1%, 40.4%) |
| CIE-LAB | lab(57.19, -32.45, 5.93) |
| CIE-LCH | lch(57.19, 32.99, 169.65°) |
| OKLab | oklab(61.93% -0.0914 0.0151) |
| OKLCH | oklch(61.93% 0.093 170.6) |
| XYZ | xyz(17.2392, 25.1195, 23.6747) |
| Luminance | 0.2512 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Ocean Green
#3D9973
ΔE00 3.63
Grey Teal
#5E9B8A
ΔE00 4.75
Dull Teal
#5F9E8F
ΔE00 5.59
Dusty Teal
#4C9085
ΔE00 5.92
Blue Green
#0F9B8E
ΔE00 5.96
Viridian
#1E9167
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42987E #98425C
analogous
#429853 #42987E #428798
triadic
#42987E #7E4298 #987E42
tetradic
#42987E #534298 #98425C #879842
square
#42987E #534298 #98425C #879842
split-complementary
#42987E #984287 #985342
monochromatic
#1D4337 #2F6D5B #42987E #5EB99E #89CCB7
Accessibility & contrast
On white
3.49
#42987E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.02
#42987E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #42987E
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42987E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42987E | 1.00 | 3.49 | 6.02 | 6.02 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948F7D
Deuteranopia (green-blind)
#878580
Tritanopia (blue-blind)
#149990
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #42987e; /* rgb */ color: rgb(66, 152, 126); /* oklch */ color: oklch(61.9% 0.093 170.6);
Tailwind
colors: {
custom: {
50: '#7eb7a3',
500: '#42987e',
950: '#000000',
},
}SCSS
$custom: #42987e; $custom-light: #7eb7a3; $custom-dark: #000000;
JSON
{
"hex": "#42987e",
"rgb": {
"r": 66,
"g": 152,
"b": 126
},
"hsl": {
"h": 161.86,
"s": 39.45,
"l": 42.745
},
"oklch": {
"l": 0.61932,
"c": 0.09268,
"h": 170.6
},
"luminance": 0.25121
}Semantic roles & 50–950 ramp
primary
#42987E
secondary
#B77F90
accent
#587CCF
background
#F8FBFA
surface
#EFF6F3
border
#CAD0CD
text
#0A110F
muted
#7C807F