#42897A#42897A

#42897A is a mid, moderate teal. Relative luminance 0.205; OKLCH L 58.0% C 0.076 H 177.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#42897A
RGBrgb(66, 137, 122)
HSLhsl(167, 35%, 40%)
HSVhsv(167, 52%, 54%)
CMYKcmyk(51.8%, 0%, 10.9%, 46.3%)
CIE-LABlab(52.35, -26.18, 1.23)
CIE-LCHlch(52.35, 26.21, 177.32°)
OKLaboklab(57.97% -0.0756 0.0029)
OKLCHoklch(57.97% 0.076 177.8)
XYZxyz(14.7038, 20.4534, 21.5816)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42897A #894251
analogous
#428957 #42897A #427589
triadic
#42897A #7A4289 #897A42
tetradic
#42897A #574289 #894251 #758942
square
#42897A #574289 #894251 #758942
split-complementary
#42897A #894275 #895742
monochromatic
#1A3630 #2E6055 #42897A #59AF9D #82C3B5

Accessibility & contrast

On white

4.12
#42897A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#42897A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42897A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42897A#FFFFFF#000000##000000
##42897A1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#848279
Deuteranopia (green-blind)
#79797B
Tritanopia (blue-blind)
#208B84
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #42897a;
/* rgb */ color: rgb(66, 137, 122);
/* oklch */ color: oklch(58.0% 0.076 177.8);
Tailwind
colors: {
  custom: {
    50: '#7caca0',
    500: '#42897a',
    950: '#000000',
  },
}
SCSS
$custom: #42897a;
$custom-light: #7caca0;
$custom-dark: #000000;
JSON
{
  "hex": "#42897a",
  "rgb": {
    "r": 66,
    "g": 137,
    "b": 122
  },
  "hsl": {
    "h": 167.324,
    "s": 34.975,
    "l": 39.804
  },
  "oklch": {
    "l": 0.57965,
    "c": 0.07568,
    "h": 177.8
  },
  "luminance": 0.20455
}

Semantic roles & 50–950 ramp

primary
#42897A
secondary
#AE7984
accent
#5D74CB
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#0A100E
muted
#7C7F7E

Preview Lab

Preview with #42897A

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

Preview Lab → · Contrast checker → · Palette generator →

#42897A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva