#2C7151#2C7151

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

Color values

HEX#2C7151
RGBrgb(44, 113, 81)
HSLhsl(152, 44%, 31%)
HSVhsv(152, 61%, 44%)
CMYKcmyk(61.1%, 0%, 28.3%, 55.7%)
CIE-LABlab(42.67, -29.93, 11.42)
CIE-LCHlch(42.67, 32.03, 159.12°)
OKLaboklab(49.53% -0.0821 0.0291)
OKLCHoklch(49.53% 0.087 160.5)
XYZxyz(8.4283, 12.9390, 9.8363)
Luminance0.1294 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7151 #712C4C
analogous
#2C712E #2C7151 #2C6E71
triadic
#2C7151 #512C71 #71512C
tetradic
#2C7151 #2E2C71 #712C4C #6E712C
square
#2C7151 #2E2C71 #712C4C #6E712C
split-complementary
#2C7151 #712C6E #712E2C
monochromatic
#0A1912 #1B4531 #2C7151 #3D9D71 #59BE8F

Accessibility & contrast

On white

5.85
#2C7151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C7151
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7151#FFFFFF#000000##FFFFFF
##2C71511.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c7151;
/* rgb */ color: rgb(44, 113, 81);
/* oklch */ color: oklch(49.5% 0.087 160.5);
Tailwind
colors: {
  custom: {
    50: '#6c9a82',
    500: '#2c7151',
    950: '#000000',
  },
}
SCSS
$custom: #2c7151;
$custom-light: #6c9a82;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7151",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 81
  },
  "hsl": {
    "h": 152.174,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.49529,
    "c": 0.0871,
    "h": 160.5
  },
  "luminance": 0.1294
}

Semantic roles & 50–950 ramp

primary
#2C7151
secondary
#A3567A
accent
#548FD4
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2C7151

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

Preview Lab → · Contrast checker → · Palette generator →

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