#42947F#42947F

#42947F is a mid, moderate teal. Relative luminance 0.239; OKLCH L 60.9% C 0.087 H 174.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#42947F
RGBrgb(66, 148, 127)
HSLhsl(165, 38%, 42%)
HSVhsv(165, 55%, 58%)
CMYKcmyk(55.4%, 0%, 14.2%, 42%)
CIE-LABlab(55.96, -30.30, 3.58)
CIE-LCHlch(55.96, 30.51, 173.26°)
OKLaboklab(60.94% -0.0863 0.009)
OKLCHoklch(60.94% 0.087 174)
XYZxyz(16.6657, 23.8688, 23.8034)
Luminance0.2387 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42947F #944257
analogous
#429456 #42947F #428094
triadic
#42947F #7F4294 #947F42
tetradic
#42947F #564294 #944257 #809442
square
#42947F #564294 #944257 #809442
split-complementary
#42947F #944280 #945642
monochromatic
#1C3F36 #2F6A5B #42947F #5DB7A0 #87C9B8

Accessibility & contrast

On white

3.64
#42947F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#42947F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42947F
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42947F#FFFFFF#000000##000000
##42947F1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8B7E
Deuteranopia (green-blind)
#838281
Tritanopia (blue-blind)
#15958E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #42947f;
/* rgb */ color: rgb(66, 148, 127);
/* oklch */ color: oklch(60.9% 0.087 174.0);
Tailwind
colors: {
  custom: {
    50: '#7eb4a4',
    500: '#42947f',
    950: '#000000',
  },
}
SCSS
$custom: #42947f;
$custom-light: #7eb4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#42947f",
  "rgb": {
    "r": 66,
    "g": 148,
    "b": 127
  },
  "hsl": {
    "h": 164.634,
    "s": 38.318,
    "l": 41.961
  },
  "oklch": {
    "l": 0.60937,
    "c": 0.08678,
    "h": 174
  },
  "luminance": 0.2387
}

Semantic roles & 50–950 ramp

primary
#42947F
secondary
#B47E8C
accent
#5A77CE
background
#F8FBFA
surface
#EFF6F4
border
#CAD0CE
text
#0A110F
muted
#7C807F

Preview Lab

Preview with #42947F

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

Preview Lab → · Contrast checker → · Palette generator →

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