#2A875B#2A875B

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

Color values

HEX#2A875B
RGBrgb(42, 135, 91)
HSLhsl(152, 53%, 35%)
HSVhsv(152, 69%, 53%)
CMYKcmyk(68.9%, 0%, 32.6%, 47.1%)
CIE-LABlab(50.19, -37.94, 15.95)
CIE-LCHlch(50.19, 41.16, 157.20°)
OKLaboklab(55.74% -0.1032 0.0404)
OKLCHoklch(55.74% 0.111 158.6)
XYZxyz(11.5060, 18.5743, 12.8743)
Luminance0.1858 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A875B #872A56
analogous
#2A872D #2A875B #2A8487
triadic
#2A875B #5B2A87 #875B2A
tetradic
#2A875B #2D2A87 #872A56 #84872A
square
#2A875B #2D2A87 #872A56 #84872A
split-complementary
#2A875B #872A84 #872D2A
monochromatic
#0D2A1C #1B583C #2A875B #39B67A #5ECD99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A875B#FFFFFF#000000##000000
##2A875B1.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)
#867D58
Deuteranopia (green-blind)
#7A745E
Tritanopia (blue-blind)
#00867B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a875b;
/* rgb */ color: rgb(42, 135, 91);
/* oklch */ color: oklch(55.7% 0.111 158.6);
Tailwind
colors: {
  custom: {
    50: '#70ab89',
    500: '#2a875b',
    950: '#000000',
  },
}
SCSS
$custom: #2a875b;
$custom-light: #70ab89;
$custom-dark: #000000;
JSON
{
  "hex": "#2a875b",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 91
  },
  "hsl": {
    "h": 151.613,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55741,
    "c": 0.11085,
    "h": 158.6
  },
  "luminance": 0.18576
}

Semantic roles & 50–950 ramp

primary
#2A875B
secondary
#B35A84
accent
#4C90DC
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2A875B

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

Preview Lab → · Contrast checker → · Palette generator →

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