#2B7A56#2B7A56

#2B7A56 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.1% C 0.096 H 160.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2B7A56
RGBrgb(43, 122, 86)
HSLhsl(153, 48%, 32%)
HSVhsv(153, 65%, 48%)
CMYKcmyk(64.8%, 0%, 29.5%, 52.2%)
CIE-LABlab(45.78, -33.14, 12.77)
CIE-LCHlch(45.78, 35.52, 158.92°)
OKLaboklab(52.1% -0.0907 0.0325)
OKLCHoklch(52.1% 0.096 160.3)
XYZxyz(9.6346, 15.1036, 11.2098)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7A56 #7A2B4F
analogous
#2B7A2E #2B7A56 #2B777A
triadic
#2B7A56 #562B7A #7A562B
tetradic
#2B7A56 #2E2B7A #7A2B4F #777A2B
square
#2B7A56 #2E2B7A #7A2B4F #777A2B
split-complementary
#2B7A56 #7A2B77 #7A2E2B
monochromatic
#0B1F16 #1B4D36 #2B7A56 #3BA776 #5AC594

Accessibility & contrast

On white

5.22
#2B7A56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2B7A56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7A56
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7A56#FFFFFF#000000##FFFFFF
##2B7A561.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787154
Deuteranopia (green-blind)
#6E6958
Tritanopia (blue-blind)
#007A70
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b7a56;
/* rgb */ color: rgb(43, 122, 86);
/* oklch */ color: oklch(52.1% 0.096 160.3);
Tailwind
colors: {
  custom: {
    50: '#6da185',
    500: '#2b7a56',
    950: '#000000',
  },
}
SCSS
$custom: #2b7a56;
$custom-light: #6da185;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7a56",
  "rgb": {
    "r": 43,
    "g": 122,
    "b": 86
  },
  "hsl": {
    "h": 152.658,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52097,
    "c": 0.09632,
    "h": 160.3
  },
  "luminance": 0.15105
}

Semantic roles & 50–950 ramp

primary
#2B7A56
secondary
#AB567D
accent
#508ED7
background
#F6FAF8
surface
#ECF3EF
border
#C7CDCA
text
#080F0B
muted
#7A7F7C

Preview Lab

Preview with #2B7A56

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

Preview Lab → · Contrast checker → · Palette generator →

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