#2A7159#2A7159

#2A7159 is a mid, moderate teal. Relative luminance 0.130; OKLCH L 49.7% C 0.081 H 167.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#2A7159
RGBrgb(42, 113, 89)
HSLhsl(160, 46%, 30%)
HSVhsv(160, 63%, 44%)
CMYKcmyk(62.8%, 0%, 21.2%, 55.7%)
CIE-LABlab(42.80, -28.43, 6.82)
CIE-LCHlch(42.80, 29.23, 166.51°)
OKLaboklab(49.68% -0.0792 0.0175)
OKLCHoklch(49.68% 0.081 167.6)
XYZxyz(8.6623, 13.0229, 11.5064)
Luminance0.1302 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7159 #712A42
analogous
#2A7135 #2A7159 #2A6571
triadic
#2A7159 #592A71 #71592A
tetradic
#2A7159 #352A71 #712A42 #65712A
square
#2A7159 #352A71 #712A42 #65712A
split-complementary
#2A7159 #712A65 #71352A
monochromatic
#091813 #194436 #2A7159 #3B9E7C #55C09C

Accessibility & contrast

On white

5.83
#2A7159 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2A7159 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7159
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7159#FFFFFF#000000##FFFFFF
##2A71591.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6958
Deuteranopia (green-blind)
#64625B
Tritanopia (blue-blind)
#00716A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a7159;
/* rgb */ color: rgb(42, 113, 89);
/* oklch */ color: oklch(49.7% 0.081 167.6);
Tailwind
colors: {
  custom: {
    50: '#6c9a87',
    500: '#2a7159',
    950: '#000000',
  },
}
SCSS
$custom: #2a7159;
$custom-light: #6c9a87;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7159",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 89
  },
  "hsl": {
    "h": 159.718,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49677,
    "c": 0.08114,
    "h": 167.6
  },
  "luminance": 0.13024
}

Semantic roles & 50–950 ramp

primary
#2A7159
secondary
#A3546F
accent
#527FD5
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070E0B
muted
#7A7E7C

Preview Lab

Preview with #2A7159

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

Preview Lab → · Contrast checker → · Palette generator →

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