#2A875A#2A875A

#2A875A is a mid, moderate teal. Relative luminance 0.186; OKLCH L 55.7% C 0.112 H 158.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2A875A
RGBrgb(42, 135, 90)
HSLhsl(151, 53%, 35%)
HSVhsv(151, 69%, 53%)
CMYKcmyk(68.9%, 0%, 33.3%, 47.1%)
CIE-LABlab(50.16, -38.16, 16.49)
CIE-LCHlch(50.16, 41.57, 156.63°)
OKLaboklab(55.72% -0.1037 0.0417)
OKLCHoklch(55.72% 0.112 158.1)
XYZxyz(11.4632, 18.5571, 12.6486)
Luminance0.1856 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A875A #872A57
analogous
#2A872C #2A875A #2A8587
triadic
#2A875A #5A2A87 #875A2A
tetradic
#2A875A #2C2A87 #872A57 #85872A
square
#2A875A #2C2A87 #872A57 #85872A
split-complementary
#2A875A #872A85 #872C2A
monochromatic
#0D2A1C #1B583B #2A875A #39B679 #5ECD97

Accessibility & contrast

On white

4.46
#2A875A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2A875A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A875A
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A875A#FFFFFF#000000##000000
##2A875A1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#867C57
Deuteranopia (green-blind)
#7A745D
Tritanopia (blue-blind)
#00867B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a875a;
/* rgb */ color: rgb(42, 135, 90);
/* oklch */ color: oklch(55.7% 0.112 158.1);
Tailwind
colors: {
  custom: {
    50: '#70ab89',
    500: '#2a875a',
    950: '#000000',
  },
}
SCSS
$custom: #2a875a;
$custom-light: #70ab89;
$custom-dark: #000000;
JSON
{
  "hex": "#2a875a",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 90
  },
  "hsl": {
    "h": 150.968,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55718,
    "c": 0.1118,
    "h": 158.1
  },
  "luminance": 0.18558
}

Semantic roles & 50–950 ramp

primary
#2A875A
secondary
#B35A85
accent
#4C92DC
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2A875A

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

Preview Lab → · Contrast checker → · Palette generator →

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