#2A875E#2A875E

#2A875E is a mid, moderate teal. Relative luminance 0.186; OKLCH L 55.8% C 0.108 H 160.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2A875E
RGBrgb(42, 135, 94)
HSLhsl(154, 53%, 35%)
HSVhsv(154, 69%, 53%)
CMYKcmyk(68.9%, 0%, 30.4%, 47.1%)
CIE-LABlab(50.25, -37.27, 14.32)
CIE-LCHlch(50.25, 39.92, 158.98°)
OKLaboklab(55.81% -0.1017 0.0364)
OKLCHoklch(55.81% 0.108 160.3)
XYZxyz(11.6381, 18.6271, 13.5695)
Luminance0.1863 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A875E #872A53
analogous
#2A872F #2A875E #2A8287
triadic
#2A875E #5E2A87 #875E2A
tetradic
#2A875E #2F2A87 #872A53 #82872A
square
#2A875E #2F2A87 #872A53 #82872A
split-complementary
#2A875E #872A82 #872F2A
monochromatic
#0D2A1D #1B583D #2A875E #39B67F #5ECD9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A875E#FFFFFF#000000##000000
##2A875E1.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)
#857D5C
Deuteranopia (green-blind)
#797461
Tritanopia (blue-blind)
#00867C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a875e;
/* rgb */ color: rgb(42, 135, 94);
/* oklch */ color: oklch(55.8% 0.108 160.3);
Tailwind
colors: {
  custom: {
    50: '#70ab8b',
    500: '#2a875e',
    950: '#000000',
  },
}
SCSS
$custom: #2a875e;
$custom-light: #70ab8b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a875e",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 94
  },
  "hsl": {
    "h": 153.548,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55813,
    "c": 0.10805,
    "h": 160.3
  },
  "luminance": 0.18628
}

Semantic roles & 50–950 ramp

primary
#2A875E
secondary
#B35A81
accent
#4C8BDC
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #2A875E

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

Preview Lab → · Contrast checker → · Palette generator →

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