#42917C#42917C

#42917C is a mid, moderate teal. Relative luminance 0.229; OKLCH L 60.1% C 0.085 H 173.5°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#42917C
RGBrgb(66, 145, 124)
HSLhsl(164, 37%, 41%)
HSVhsv(164, 54%, 57%)
CMYKcmyk(54.5%, 0%, 14.5%, 43.1%)
CIE-LABlab(54.93, -29.61, 3.82)
CIE-LCHlch(54.93, 29.85, 172.65°)
OKLaboklab(60.08% -0.0842 0.0097)
OKLCHoklch(60.08% 0.085 173.5)
XYZxyz(16.0086, 22.8628, 22.6342)
Luminance0.2286 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42917C #914257
analogous
#429155 #42917C #427F91
triadic
#42917C #7C4291 #917C42
tetradic
#42917C #554291 #914257 #7F9142
square
#42917C #554291 #914257 #7F9142
split-complementary
#42917C #91427F #915542
monochromatic
#1C3D34 #2F6758 #42917C #5CB59D #86C8B6

Accessibility & contrast

On white

3.77
#42917C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#42917C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42917C
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42917C#FFFFFF#000000##000000
##42917C1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D897B
Deuteranopia (green-blind)
#81807D
Tritanopia (blue-blind)
#1A928B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #42917c;
/* rgb */ color: rgb(66, 145, 124);
/* oklch */ color: oklch(60.1% 0.085 173.5);
Tailwind
colors: {
  custom: {
    50: '#7db1a1',
    500: '#42917c',
    950: '#000000',
  },
}
SCSS
$custom: #42917c;
$custom-light: #7db1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#42917c",
  "rgb": {
    "r": 66,
    "g": 145,
    "b": 124
  },
  "hsl": {
    "h": 164.051,
    "s": 37.441,
    "l": 41.373
  },
  "oklch": {
    "l": 0.60078,
    "c": 0.08478,
    "h": 173.5
  },
  "luminance": 0.22864
}

Semantic roles & 50–950 ramp

primary
#42917C
secondary
#B37C8B
accent
#5A79CD
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#0A110F
muted
#7C807E

Preview Lab

Preview with #42917C

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

Preview Lab → · Contrast checker → · Palette generator →

#42917C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva