#2A845F#2A845F

#2A845F is a mid, moderate teal. Relative luminance 0.178; OKLCH L 55.0% C 0.103 H 162.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2A845F
RGBrgb(42, 132, 95)
HSLhsl(155, 52%, 34%)
HSVhsv(155, 68%, 52%)
CMYKcmyk(68.2%, 0%, 28%, 48.2%)
CIE-LABlab(49.28, -35.72, 12.40)
CIE-LCHlch(49.28, 37.81, 160.86°)
OKLaboklab(55.02% -0.0979 0.0316)
OKLCHoklch(55.02% 0.103 162.1)
XYZxyz(11.2705, 17.8198, 13.6698)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A845F #842A4F
analogous
#2A8432 #2A845F #2A7C84
triadic
#2A845F #5F2A84 #845F2A
tetradic
#2A845F #322A84 #842A4F #7C842A
square
#2A845F #322A84 #842A4F #7C842A
split-complementary
#2A845F #842A7C #84322A
monochromatic
#0C271C #1B563E #2A845F #39B280 #5DCB9E

Accessibility & contrast

On white

4.60
#2A845F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#2A845F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A845F
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A845F#FFFFFF#000000##FFFFFF
##2A845F1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827A5D
Deuteranopia (green-blind)
#767261
Tritanopia (blue-blind)
#00847A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a845f;
/* rgb */ color: rgb(42, 132, 95);
/* oklch */ color: oklch(55.0% 0.103 162.1);
Tailwind
colors: {
  custom: {
    50: '#6fa88c',
    500: '#2a845f',
    950: '#000000',
  },
}
SCSS
$custom: #2a845f;
$custom-light: #6fa88c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a845f",
  "rgb": {
    "r": 42,
    "g": 132,
    "b": 95
  },
  "hsl": {
    "h": 155.333,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55024,
    "c": 0.10291,
    "h": 162.1
  },
  "luminance": 0.17821
}

Semantic roles & 50–950 ramp

primary
#2A845F
secondary
#B1597D
accent
#4D87DB
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #2A845F

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

Preview Lab → · Contrast checker → · Palette generator →

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