#2A785E#2A785E

#2A785E is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.7% C 0.087 H 167.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2A785E
RGBrgb(42, 120, 94)
HSLhsl(160, 48%, 32%)
HSVhsv(160, 65%, 47%)
CMYKcmyk(65%, 0%, 21.7%, 52.9%)
CIE-LABlab(45.27, -30.49, 7.35)
CIE-LCHlch(45.27, 31.36, 166.45°)
OKLaboklab(51.73% -0.0849 0.0188)
OKLCHoklch(51.73% 0.087 167.5)
XYZxyz(9.6907, 14.7323, 12.9204)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A785E #782A44
analogous
#2A7837 #2A785E #2A6B78
triadic
#2A785E #5E2A78 #785E2A
tetradic
#2A785E #372A78 #782A44 #6B782A
square
#2A785E #372A78 #782A44 #6B782A
split-complementary
#2A785E #782A6B #78372A
monochromatic
#0A1D17 #1A4B3A #2A785E #3AA582 #58C5A0

Accessibility & contrast

On white

5.32
#2A785E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2A785E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A785E
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A785E#FFFFFF#000000##FFFFFF
##2A785E1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75705D
Deuteranopia (green-blind)
#6A6860
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a785e;
/* rgb */ color: rgb(42, 120, 94);
/* oklch */ color: oklch(51.7% 0.087 167.5);
Tailwind
colors: {
  custom: {
    50: '#6d9f8b',
    500: '#2a785e',
    950: '#000000',
  },
}
SCSS
$custom: #2a785e;
$custom-light: #6d9f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a785e",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 94
  },
  "hsl": {
    "h": 160,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51733,
    "c": 0.08693,
    "h": 167.5
  },
  "luminance": 0.14733
}

Semantic roles & 50–950 ramp

primary
#2A785E
secondary
#AA5471
accent
#507DD8
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080E0C
muted
#7B7E7D

Preview Lab

Preview with #2A785E

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

Preview Lab → · Contrast checker → · Palette generator →

#2A785E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva