#2A795D#2A795D

#2A795D is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.0% C 0.089 H 166.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2A795D
RGBrgb(42, 121, 93)
HSLhsl(159, 48%, 32%)
HSVhsv(159, 65%, 47%)
CMYKcmyk(65.3%, 0%, 23.1%, 52.5%)
CIE-LABlab(45.57, -31.21, 8.38)
CIE-LCHlch(45.57, 32.32, 164.98°)
OKLaboklab(51.98% -0.0865 0.0214)
OKLCHoklch(51.98% 0.089 166.1)
XYZxyz(9.7670, 14.9563, 12.7259)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A795D #792A46
analogous
#2A7936 #2A795D #2A6E79
triadic
#2A795D #5D2A79 #795D2A
tetradic
#2A795D #362A79 #792A46 #6E792A
square
#2A795D #362A79 #792A46 #6E792A
split-complementary
#2A795D #792A6E #79362A
monochromatic
#0A1E17 #1A4C3A #2A795D #3AA680 #58C59F

Accessibility & contrast

On white

5.26
#2A795D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2A795D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A795D
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A795D#FFFFFF#000000##FFFFFF
##2A795D1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76715C
Deuteranopia (green-blind)
#6B695F
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a795d;
/* rgb */ color: rgb(42, 121, 93);
/* oklch */ color: oklch(52.0% 0.089 166.1);
Tailwind
colors: {
  custom: {
    50: '#6da08b',
    500: '#2a795d',
    950: '#000000',
  },
}
SCSS
$custom: #2a795d;
$custom-light: #6da08b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a795d",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 93
  },
  "hsl": {
    "h": 158.734,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51977,
    "c": 0.08916,
    "h": 166.1
  },
  "luminance": 0.14957
}

Semantic roles & 50–950 ramp

primary
#2A795D
secondary
#AB5473
accent
#5080D8
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080F0B
muted
#7B7E7C

Preview Lab

Preview with #2A795D

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

Preview Lab → · Contrast checker → · Palette generator →

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