#42887F#42887F

#42887F is a mid, moderate teal. Relative luminance 0.203; OKLCH L 57.9% C 0.072 H 184.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#42887F
RGBrgb(66, 136, 127)
HSLhsl(172, 35%, 40%)
HSVhsv(172, 51%, 53%)
CMYKcmyk(51.5%, 0%, 6.6%, 46.7%)
CIE-LABlab(52.17, -24.37, -1.93)
CIE-LCHlch(52.17, 24.44, 184.53°)
OKLaboklab(57.87% -0.0721 -0.0056)
OKLCHoklch(57.87% 0.072 184.4)
XYZxyz(14.8801, 20.2976, 23.2082)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42887F #88424B
analogous
#42885C #42887F #426E88
triadic
#42887F #7F4288 #887F42
tetradic
#42887F #5C4288 #88424B #6E8842
square
#42887F #5C4288 #88424B #6E8842
split-complementary
#42887F #88426E #885C42
monochromatic
#1A3632 #2E5F59 #42887F #59AEA3 #82C2BA

Accessibility & contrast

On white

4.15
#42887F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#42887F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42887F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42887F#FFFFFF#000000##000000
##42887F1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#82817F
Deuteranopia (green-blind)
#777980
Tritanopia (blue-blind)
#1C8B85
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #42887f;
/* rgb */ color: rgb(66, 136, 127);
/* oklch */ color: oklch(57.9% 0.072 184.4);
Tailwind
colors: {
  custom: {
    50: '#7caba4',
    500: '#42887f',
    950: '#000000',
  },
}
SCSS
$custom: #42887f;
$custom-light: #7caba4;
$custom-dark: #000000;
JSON
{
  "hex": "#42887f",
  "rgb": {
    "r": 66,
    "g": 136,
    "b": 127
  },
  "hsl": {
    "h": 172.286,
    "s": 34.653,
    "l": 39.608
  },
  "oklch": {
    "l": 0.57871,
    "c": 0.07228,
    "h": 184.4
  },
  "luminance": 0.20299
}

Semantic roles & 50–950 ramp

primary
#42887F
secondary
#AD797F
accent
#5D6BCB
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#0A100F
muted
#7C7F7F

Preview Lab

Preview with #42887F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#42887F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva