#2D7A5F#2D7A5F

#2D7A5F is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.4% C 0.087 H 166.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2D7A5F
RGBrgb(45, 122, 95)
HSLhsl(159, 46%, 33%)
HSVhsv(159, 63%, 48%)
CMYKcmyk(63.1%, 0%, 22.1%, 52.2%)
CIE-LABlab(46.05, -30.56, 7.88)
CIE-LCHlch(46.05, 31.56, 165.55°)
OKLaboklab(52.4% -0.0849 0.0202)
OKLCHoklch(52.4% 0.087 166.6)
XYZxyz(10.1062, 15.3022, 13.2453)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7A5F #7A2D48
analogous
#2D7A38 #2D7A5F #2D6E7A
triadic
#2D7A5F #5F2D7A #7A5F2D
tetradic
#2D7A5F #382D7A #7A2D48 #6E7A2D
square
#2D7A5F #382D7A #7A2D48 #6E7A2D
split-complementary
#2D7A5F #7A2D6E #7A382D
monochromatic
#0C2119 #1D4D3C #2D7A5F #3DA782 #5EC4A0

Accessibility & contrast

On white

5.17
#2D7A5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2D7A5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7A5F
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7A5F#FFFFFF#000000##FFFFFF
##2D7A5F1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77725E
Deuteranopia (green-blind)
#6C6A61
Tritanopia (blue-blind)
#007A72
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7a5f;
/* rgb */ color: rgb(45, 122, 95);
/* oklch */ color: oklch(52.4% 0.087 166.6);
Tailwind
colors: {
  custom: {
    50: '#6fa18c',
    500: '#2d7a5f',
    950: '#000000',
  },
}
SCSS
$custom: #2d7a5f;
$custom-light: #6fa18c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7a5f",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 95
  },
  "hsl": {
    "h": 158.961,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52404,
    "c": 0.0873,
    "h": 166.6
  },
  "luminance": 0.15303
}

Semantic roles & 50–950 ramp

primary
#2D7A5F
secondary
#AA5975
accent
#5280D6
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080F0C
muted
#7B7E7D

Preview Lab

Preview with #2D7A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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