#2A875D#2A875D

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

Color values

HEX#2A875D
RGBrgb(42, 135, 93)
HSLhsl(153, 53%, 35%)
HSVhsv(153, 69%, 53%)
CMYKcmyk(68.9%, 0%, 31.1%, 47.1%)
CIE-LABlab(50.23, -37.49, 14.86)
CIE-LCHlch(50.23, 40.33, 158.37°)
OKLaboklab(55.79% -0.1022 0.0377)
OKLCHoklch(55.79% 0.109 159.8)
XYZxyz(11.5935, 18.6092, 13.3348)
Luminance0.1861 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A875D #872A54
analogous
#2A872F #2A875D #2A8387
triadic
#2A875D #5D2A87 #875D2A
tetradic
#2A875D #2F2A87 #872A54 #83872A
square
#2A875D #2F2A87 #872A54 #83872A
split-complementary
#2A875D #872A83 #872F2A
monochromatic
#0D2A1D #1B583D #2A875D #39B67D #5ECD9B

Accessibility & contrast

On white

4.45
#2A875D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#2A875D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A875D
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A875D#FFFFFF#000000##000000
##2A875D1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#857D5A
Deuteranopia (green-blind)
#797460
Tritanopia (blue-blind)
#00867C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a875d;
/* rgb */ color: rgb(42, 135, 93);
/* oklch */ color: oklch(55.8% 0.109 159.8);
Tailwind
colors: {
  custom: {
    50: '#70ab8b',
    500: '#2a875d',
    950: '#000000',
  },
}
SCSS
$custom: #2a875d;
$custom-light: #70ab8b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a875d",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 93
  },
  "hsl": {
    "h": 152.903,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55789,
    "c": 0.10897,
    "h": 159.8
  },
  "luminance": 0.1861
}

Semantic roles & 50–950 ramp

primary
#2A875D
secondary
#B35A82
accent
#4C8DDC
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #2A875D

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

Preview Lab → · Contrast checker → · Palette generator →

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