#2A7F59#2A7F59

#2A7F59 is a mid, moderate teal. Relative luminance 0.164; OKLCH L 53.5% C 0.101 H 160.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2A7F59
RGBrgb(42, 127, 89)
HSLhsl(153, 50%, 33%)
HSVhsv(153, 67%, 50%)
CMYKcmyk(66.9%, 0%, 29.9%, 50.2%)
CIE-LABlab(47.48, -34.90, 13.38)
CIE-LCHlch(47.48, 37.38, 159.02°)
OKLaboklab(53.51% -0.0954 0.034)
OKLCHoklch(53.51% 0.101 160.4)
XYZxyz(10.3464, 16.3912, 12.0678)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7F59 #7F2A50
analogous
#2A7F2E #2A7F59 #2A7A7F
triadic
#2A7F59 #592A7F #7F592A
tetradic
#2A7F59 #2E2A7F #7F2A50 #7A7F2A
square
#2A7F59 #2E2A7F #7F2A50 #7A7F2A
split-complementary
#2A7F59 #7F2A7A #7F2E2A
monochromatic
#0C2319 #1B5139 #2A7F59 #39AD79 #5BC998

Accessibility & contrast

On white

4.91
#2A7F59 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2A7F59 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7F59
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7F59#FFFFFF#000000##FFFFFF
##2A7F591.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7557
Deuteranopia (green-blind)
#726D5B
Tritanopia (blue-blind)
#007F75
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a7f59;
/* rgb */ color: rgb(42, 127, 89);
/* oklch */ color: oklch(53.5% 0.101 160.4);
Tailwind
colors: {
  custom: {
    50: '#6ea588',
    500: '#2a7f59',
    950: '#000000',
  },
}
SCSS
$custom: #2a7f59;
$custom-light: #6ea588;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7f59",
  "rgb": {
    "r": 42,
    "g": 127,
    "b": 89
  },
  "hsl": {
    "h": 153.176,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5351,
    "c": 0.10128,
    "h": 160.4
  },
  "luminance": 0.16392
}

Semantic roles & 50–950 ramp

primary
#2A7F59
secondary
#AE577E
accent
#4E8CDA
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2A7F59

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

Preview Lab → · Contrast checker → · Palette generator →

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