#2A7857#2A7857

#2A7857 is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.5% C 0.093 H 162.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2A7857
RGBrgb(42, 120, 87)
HSLhsl(155, 48%, 32%)
HSVhsv(155, 65%, 47%)
CMYKcmyk(65%, 0%, 27.5%, 52.9%)
CIE-LABlab(45.10, -32.21, 11.24)
CIE-LCHlch(45.10, 34.11, 160.76°)
OKLaboklab(51.54% -0.0884 0.0287)
OKLCHoklch(51.54% 0.093 162)
XYZxyz(9.3907, 14.6123, 11.3405)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7857 #782A4B
analogous
#2A7830 #2A7857 #2A7278
triadic
#2A7857 #572A78 #78572A
tetradic
#2A7857 #302A78 #782A4B #72782A
square
#2A7857 #302A78 #782A4B #72782A
split-complementary
#2A7857 #782A72 #78302A
monochromatic
#0A1D15 #1A4B36 #2A7857 #3AA578 #58C597

Accessibility & contrast

On white

5.35
#2A7857 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2A7857 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7857
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7857#FFFFFF#000000##FFFFFF
##2A78571.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766F55
Deuteranopia (green-blind)
#6B6859
Tritanopia (blue-blind)
#00786F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a7857;
/* rgb */ color: rgb(42, 120, 87);
/* oklch */ color: oklch(51.5% 0.093 162.0);
Tailwind
colors: {
  custom: {
    50: '#6d9f86',
    500: '#2a7857',
    950: '#000000',
  },
}
SCSS
$custom: #2a7857;
$custom-light: #6d9f86;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7857",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 87
  },
  "hsl": {
    "h": 154.615,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51542,
    "c": 0.09298,
    "h": 162
  },
  "luminance": 0.14613
}

Semantic roles & 50–950 ramp

primary
#2A7857
secondary
#AA5478
accent
#5089D8
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070E0B
muted
#7A7E7C

Preview Lab

Preview with #2A7857

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

Preview Lab → · Contrast checker → · Palette generator →

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