#42795F#42795F

#42795F is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.0% C 0.072 H 162.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#42795F
RGBrgb(66, 121, 95)
HSLhsl(152, 29%, 37%)
HSVhsv(152, 45%, 47%)
CMYKcmyk(45.5%, 0%, 21.5%, 52.5%)
CIE-LABlab(46.52, -24.74, 8.67)
CIE-LCHlch(46.52, 26.21, 160.69°)
OKLaboklab(53.02% -0.0687 0.0223)
OKLCHoklch(53.02% 0.072 162.1)
XYZxyz(11.1488, 15.6584, 13.2591)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42795F #79425C
analogous
#427944 #42795F #427879
triadic
#42795F #5F4279 #795F42
tetradic
#42795F #444279 #79425C #787942
square
#42795F #444279 #79425C #787942
split-complementary
#42795F #794278 #794442
monochromatic
#172A21 #2C5140 #42795F #58A17E #7DB89C

Accessibility & contrast

On white

5.08
#42795F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#42795F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42795F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42795F#FFFFFF#000000##FFFFFF
##42795F1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77725E
Deuteranopia (green-blind)
#6F6C61
Tritanopia (blue-blind)
#337972
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #42795f;
/* rgb */ color: rgb(66, 121, 95);
/* oklch */ color: oklch(53.0% 0.072 162.1);
Tailwind
colors: {
  custom: {
    50: '#7aa08c',
    500: '#42795f',
    950: '#000000',
  },
}
SCSS
$custom: #42795f;
$custom-light: #7aa08c;
$custom-dark: #000000;
JSON
{
  "hex": "#42795f",
  "rgb": {
    "r": 66,
    "g": 121,
    "b": 95
  },
  "hsl": {
    "h": 151.636,
    "s": 29.412,
    "l": 36.667
  },
  "oklch": {
    "l": 0.53016,
    "c": 0.07221,
    "h": 162.1
  },
  "luminance": 0.15659
}

Semantic roles & 50–950 ramp

primary
#42795F
secondary
#A3748A
accent
#6291C6
background
#F7F9F8
surface
#EEF2F0
border
#C9CCCB
text
#090E0C
muted
#7B7E7D

Preview Lab

Preview with #42795F

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

Preview Lab → · Contrast checker → · Palette generator →

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