#2A7A5B#2A7A5B

#2A7A5B is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.2% C 0.092 H 164.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2A7A5B
RGBrgb(42, 122, 91)
HSLhsl(157, 49%, 32%)
HSVhsv(157, 66%, 48%)
CMYKcmyk(65.6%, 0%, 25.4%, 52.2%)
CIE-LABlab(45.86, -32.17, 9.96)
CIE-LCHlch(45.86, 33.67, 162.80°)
OKLaboklab(52.2% -0.0887 0.0255)
OKLCHoklch(52.2% 0.092 164)
XYZxyz(9.8017, 15.1656, 12.3062)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7A5B #7A2A49
analogous
#2A7A33 #2A7A5B #2A717A
triadic
#2A7A5B #5B2A7A #7A5B2A
tetradic
#2A7A5B #332A7A #7A2A49 #717A2A
square
#2A7A5B #332A7A #7A2A49 #717A2A
split-complementary
#2A7A5B #7A2A71 #7A332A
monochromatic
#0B1F17 #1A4C39 #2A7A5B #3AA87D #59C69B

Accessibility & contrast

On white

5.21
#2A7A5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2A7A5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7A5B
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7A5B#FFFFFF#000000##FFFFFF
##2A7A5B1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787159
Deuteranopia (green-blind)
#6D695D
Tritanopia (blue-blind)
#007A71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a7a5b;
/* rgb */ color: rgb(42, 122, 91);
/* oklch */ color: oklch(52.2% 0.092 164.0);
Tailwind
colors: {
  custom: {
    50: '#6da189',
    500: '#2a7a5b',
    950: '#000000',
  },
}
SCSS
$custom: #2a7a5b;
$custom-light: #6da189;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7a5b",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 91
  },
  "hsl": {
    "h": 156.75,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52195,
    "c": 0.09228,
    "h": 164
  },
  "luminance": 0.15167
}

Semantic roles & 50–950 ramp

primary
#2A7A5B
secondary
#AB5576
accent
#4F85D8
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080F0B
muted
#7B7E7C

Preview Lab

Preview with #2A7A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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