#2A8760#2A8760

#2A8760 is a mid, moderate teal. Relative luminance 0.187; OKLCH L 55.9% C 0.106 H 161.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2A8760
RGBrgb(42, 135, 96)
HSLhsl(155, 53%, 35%)
HSVhsv(155, 69%, 53%)
CMYKcmyk(68.9%, 0%, 28.9%, 47.1%)
CIE-LABlab(50.29, -36.81, 13.23)
CIE-LCHlch(50.29, 39.11, 160.22°)
OKLaboklab(55.86% -0.1007 0.0337)
OKLCHoklch(55.86% 0.106 161.5)
XYZxyz(11.7290, 18.6634, 14.0483)
Luminance0.1867 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8760 #872A51
analogous
#2A8732 #2A8760 #2A7F87
triadic
#2A8760 #602A87 #87602A
tetradic
#2A8760 #322A87 #872A51 #7F872A
square
#2A8760 #322A87 #872A51 #7F872A
split-complementary
#2A8760 #872A7F #87322A
monochromatic
#0D2A1E #1B583F #2A8760 #39B681 #5ECD9F

Accessibility & contrast

On white

4.44
#2A8760 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#2A8760 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8760
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8760#FFFFFF#000000##000000
##2A87601.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#857D5E
Deuteranopia (green-blind)
#797463
Tritanopia (blue-blind)
#00877C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a8760;
/* rgb */ color: rgb(42, 135, 96);
/* oklch */ color: oklch(55.9% 0.106 161.5);
Tailwind
colors: {
  custom: {
    50: '#70ab8d',
    500: '#2a8760',
    950: '#000000',
  },
}
SCSS
$custom: #2a8760;
$custom-light: #70ab8d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8760",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 96
  },
  "hsl": {
    "h": 154.839,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55863,
    "c": 0.10622,
    "h": 161.5
  },
  "luminance": 0.18665
}

Semantic roles & 50–950 ramp

primary
#2A8760
secondary
#B35A7F
accent
#4C88DC
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #2A8760

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

Preview Lab → · Contrast checker → · Palette generator →

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