#2B7152#2B7152

#2B7152 is a mid, moderate teal. Relative luminance 0.129; OKLCH L 49.5% C 0.087 H 161.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2B7152
RGBrgb(43, 113, 82)
HSLhsl(153, 45%, 31%)
HSVhsv(153, 62%, 44%)
CMYKcmyk(61.9%, 0%, 27.4%, 55.7%)
CIE-LABlab(42.66, -29.92, 10.80)
CIE-LCHlch(42.66, 31.82, 160.15°)
OKLaboklab(49.52% -0.0822 0.0276)
OKLCHoklch(49.52% 0.087 161.5)
XYZxyz(8.4236, 12.9322, 10.0333)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7152 #712B4A
analogous
#2B712F #2B7152 #2B6D71
triadic
#2B7152 #522B71 #71522B
tetradic
#2B7152 #2F2B71 #712B4A #6D712B
square
#2B7152 #2F2B71 #712B4A #6D712B
split-complementary
#2B7152 #712B6D #712F2B
monochromatic
#091812 #1A4532 #2B7152 #3C9D72 #57BF91

Accessibility & contrast

On white

5.86
#2B7152 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2B7152 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7152
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7152#FFFFFF#000000##FFFFFF
##2B71521.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6950
Deuteranopia (green-blind)
#666254
Tritanopia (blue-blind)
#087169
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2b7152;
/* rgb */ color: rgb(43, 113, 82);
/* oklch */ color: oklch(49.5% 0.087 161.5);
Tailwind
colors: {
  custom: {
    50: '#6c9a82',
    500: '#2b7152',
    950: '#000000',
  },
}
SCSS
$custom: #2b7152;
$custom-light: #6c9a82;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7152",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 82
  },
  "hsl": {
    "h": 153.429,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49519,
    "c": 0.08672,
    "h": 161.5
  },
  "luminance": 0.12933
}

Semantic roles & 50–950 ramp

primary
#2B7152
secondary
#A35577
accent
#538DD5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2B7152

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

Preview Lab → · Contrast checker → · Palette generator →

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