#2A7B59#2A7B59

#2A7B59 is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.4% C 0.096 H 162.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2A7B59
RGBrgb(42, 123, 89)
HSLhsl(155, 49%, 32%)
HSVhsv(155, 66%, 48%)
CMYKcmyk(65.9%, 0%, 27.6%, 51.8%)
CIE-LABlab(46.15, -33.10, 11.53)
CIE-LCHlch(46.15, 35.05, 160.79°)
OKLaboklab(52.42% -0.0909 0.0294)
OKLCHoklch(52.42% 0.096 162.1)
XYZxyz(9.8400, 15.3784, 11.8990)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7B59 #7B2A4C
analogous
#2A7B31 #2A7B59 #2A757B
triadic
#2A7B59 #592A7B #7B592A
tetradic
#2A7B59 #312A7B #7B2A4C #757B2A
square
#2A7B59 #312A7B #7B2A4C #757B2A
split-complementary
#2A7B59 #7B2A75 #7B312A
monochromatic
#0B2017 #1A4D38 #2A7B59 #3AA97A #59C698

Accessibility & contrast

On white

5.15
#2A7B59 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2A7B59 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7B59
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7B59#FFFFFF#000000##FFFFFF
##2A7B591.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797257
Deuteranopia (green-blind)
#6E6A5B
Tritanopia (blue-blind)
#007B72
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a7b59;
/* rgb */ color: rgb(42, 123, 89);
/* oklch */ color: oklch(52.4% 0.096 162.1);
Tailwind
colors: {
  custom: {
    50: '#6da288',
    500: '#2a7b59',
    950: '#000000',
  },
}
SCSS
$custom: #2a7b59;
$custom-light: #6da288;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7b59",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 89
  },
  "hsl": {
    "h": 154.815,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52416,
    "c": 0.09551,
    "h": 162.1
  },
  "luminance": 0.15379
}

Semantic roles & 50–950 ramp

primary
#2A7B59
secondary
#AC5579
accent
#4F89D9
background
#F6FAF8
surface
#ECF3EF
border
#C7CDCA
text
#080F0B
muted
#7A7F7C

Preview Lab

Preview with #2A7B59

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

Preview Lab → · Contrast checker → · Palette generator →

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