#2B7151#2B7151

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

Color values

HEX#2B7151
RGBrgb(43, 113, 81)
HSLhsl(153, 45%, 31%)
HSVhsv(153, 62%, 44%)
CMYKcmyk(61.9%, 0%, 28.3%, 55.7%)
CIE-LABlab(42.64, -30.16, 11.37)
CIE-LCHlch(42.64, 32.23, 159.35°)
OKLaboklab(49.49% -0.0827 0.029)
OKLCHoklch(49.49% 0.088 160.7)
XYZxyz(8.3858, 12.9171, 9.8343)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7151 #712B4B
analogous
#2B712E #2B7151 #2B6E71
triadic
#2B7151 #512B71 #71512B
tetradic
#2B7151 #2E2B71 #712B4B #6E712B
square
#2B7151 #2E2B71 #712B4B #6E712B
split-complementary
#2B7151 #712B6E #712E2B
monochromatic
#091811 #1A4531 #2B7151 #3C9D71 #57BF90

Accessibility & contrast

On white

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

On black

3.58
#2B7151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B7151#FFFFFF#000000##FFFFFF
##2B71511.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70694F
Deuteranopia (green-blind)
#666253
Tritanopia (blue-blind)
#0A7168
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2b7151;
/* rgb */ color: rgb(43, 113, 81);
/* oklch */ color: oklch(49.5% 0.088 160.7);
Tailwind
colors: {
  custom: {
    50: '#6c9a82',
    500: '#2b7151',
    950: '#000000',
  },
}
SCSS
$custom: #2b7151;
$custom-light: #6c9a82;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7151",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 81
  },
  "hsl": {
    "h": 152.571,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49492,
    "c": 0.08766,
    "h": 160.7
  },
  "luminance": 0.12918
}

Semantic roles & 50–950 ramp

primary
#2B7151
secondary
#A35579
accent
#538ED5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2B7151

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

Preview Lab → · Contrast checker → · Palette generator →

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