#2A875C#2A875C

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

Color values

HEX#2A875C
RGBrgb(42, 135, 92)
HSLhsl(152, 53%, 35%)
HSVhsv(152, 69%, 53%)
CMYKcmyk(68.9%, 0%, 31.9%, 47.1%)
CIE-LABlab(50.21, -37.72, 15.41)
CIE-LCHlch(50.21, 40.74, 157.78°)
OKLaboklab(55.77% -0.1027 0.039)
OKLCHoklch(55.77% 0.11 159.2)
XYZxyz(11.5495, 18.5916, 13.1030)
Luminance0.1859 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A875C #872A55
analogous
#2A872E #2A875C #2A8487
triadic
#2A875C #5C2A87 #875C2A
tetradic
#2A875C #2E2A87 #872A55 #84872A
square
#2A875C #2E2A87 #872A55 #84872A
split-complementary
#2A875C #872A84 #872E2A
monochromatic
#0D2A1C #1B583C #2A875C #39B67C #5ECD9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A875C#FFFFFF#000000##000000
##2A875C1.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)
#867D59
Deuteranopia (green-blind)
#79745F
Tritanopia (blue-blind)
#00867C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a875c;
/* rgb */ color: rgb(42, 135, 92);
/* oklch */ color: oklch(55.8% 0.110 159.2);
Tailwind
colors: {
  custom: {
    50: '#70ab8a',
    500: '#2a875c',
    950: '#000000',
  },
}
SCSS
$custom: #2a875c;
$custom-light: #70ab8a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a875c",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 92
  },
  "hsl": {
    "h": 152.258,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55765,
    "c": 0.10991,
    "h": 159.2
  },
  "luminance": 0.18593
}

Semantic roles & 50–950 ramp

primary
#2A875C
secondary
#B35A83
accent
#4C8EDC
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2A875C

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

Preview Lab → · Contrast checker → · Palette generator →

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