#2A875F#2A875F

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

Color values

HEX#2A875F
RGBrgb(42, 135, 95)
HSLhsl(154, 53%, 35%)
HSVhsv(154, 69%, 53%)
CMYKcmyk(68.9%, 0%, 29.6%, 47.1%)
CIE-LABlab(50.27, -37.04, 13.78)
CIE-LCHlch(50.27, 39.52, 159.60°)
OKLaboklab(55.84% -0.1012 0.035)
OKLCHoklch(55.84% 0.107 160.9)
XYZxyz(11.6832, 18.6451, 13.8074)
Luminance0.1865 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A875F #872A52
analogous
#2A8731 #2A875F #2A8087
triadic
#2A875F #5F2A87 #875F2A
tetradic
#2A875F #312A87 #872A52 #80872A
square
#2A875F #312A87 #872A52 #80872A
split-complementary
#2A875F #872A80 #87312A
monochromatic
#0D2A1D #1B583E #2A875F #39B680 #5ECD9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A875F#FFFFFF#000000##000000
##2A875F1.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)
#857D5D
Deuteranopia (green-blind)
#797462
Tritanopia (blue-blind)
#00877C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a875f;
/* rgb */ color: rgb(42, 135, 95);
/* oklch */ color: oklch(55.8% 0.107 160.9);
Tailwind
colors: {
  custom: {
    50: '#70ab8c',
    500: '#2a875f',
    950: '#000000',
  },
}
SCSS
$custom: #2a875f;
$custom-light: #70ab8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a875f",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 95
  },
  "hsl": {
    "h": 154.194,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55838,
    "c": 0.10713,
    "h": 160.9
  },
  "luminance": 0.18646
}

Semantic roles & 50–950 ramp

primary
#2A875F
secondary
#B35A80
accent
#4C8ADC
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #2A875F

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

Preview Lab → · Contrast checker → · Palette generator →

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