#42785F#42785F

#42785F is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.8% C 0.071 H 162.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#42785F
RGBrgb(66, 120, 95)
HSLhsl(152, 29%, 36%)
HSVhsv(152, 45%, 47%)
CMYKcmyk(45%, 0%, 20.8%, 52.9%)
CIE-LABlab(46.20, -24.23, 8.21)
CIE-LCHlch(46.20, 25.59, 161.29°)
OKLaboklab(52.75% -0.0674 0.0211)
OKLCHoklch(52.75% 0.071 162.6)
XYZxyz(11.0279, 15.4166, 13.2188)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42785F #78425B
analogous
#427844 #42785F #427678
triadic
#42785F #5F4278 #785F42
tetradic
#42785F #444278 #78425B #767842
square
#42785F #444278 #78425B #767842
split-complementary
#42785F #784276 #784442
monochromatic
#172920 #2C5140 #42785F #589F7E #7DB79C

Accessibility & contrast

On white

5.14
#42785F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#42785F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42785F
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42785F#FFFFFF#000000##FFFFFF
##42785F1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76715E
Deuteranopia (green-blind)
#6E6B61
Tritanopia (blue-blind)
#337871
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #42785f;
/* rgb */ color: rgb(66, 120, 95);
/* oklch */ color: oklch(52.8% 0.071 162.6);
Tailwind
colors: {
  custom: {
    50: '#799f8c',
    500: '#42785f',
    950: '#000000',
  },
}
SCSS
$custom: #42785f;
$custom-light: #799f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#42785f",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 95
  },
  "hsl": {
    "h": 152.222,
    "s": 29.032,
    "l": 36.471
  },
  "oklch": {
    "l": 0.52754,
    "c": 0.07062,
    "h": 162.6
  },
  "luminance": 0.15417
}

Semantic roles & 50–950 ramp

primary
#42785F
secondary
#A27389
accent
#6290C5
background
#F7F9F8
surface
#EEF2F0
border
#C9CCCB
text
#090E0C
muted
#7B7E7D

Preview Lab

Preview with #42785F

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

Preview Lab → · Contrast checker → · Palette generator →

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