#2C7B5F#2C7B5F

#2C7B5F is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.6% C 0.089 H 166.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2C7B5F
RGBrgb(44, 123, 95)
HSLhsl(159, 47%, 33%)
HSVhsv(159, 64%, 48%)
CMYKcmyk(64.2%, 0%, 22.8%, 51.8%)
CIE-LABlab(46.35, -31.24, 8.30)
CIE-LCHlch(46.35, 32.32, 165.12°)
OKLaboklab(52.64% -0.0867 0.0213)
OKLCHoklch(52.64% 0.089 166.2)
XYZxyz(10.1862, 15.5266, 13.2844)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7B5F #7B2C48
analogous
#2C7B37 #2C7B5F #2C6F7B
triadic
#2C7B5F #5F2C7B #7B5F2C
tetradic
#2C7B5F #372C7B #7B2C48 #6F7B2C
square
#2C7B5F #372C7B #7B2C48 #6F7B2C
split-complementary
#2C7B5F #7B2C6F #7B372C
monochromatic
#0C2119 #1C4E3C #2C7B5F #3CA882 #5DC5A0

Accessibility & contrast

On white

5.11
#2C7B5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2C7B5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7B5F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7B5F#FFFFFF#000000##FFFFFF
##2C7B5F1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78735E
Deuteranopia (green-blind)
#6D6B61
Tritanopia (blue-blind)
#007B73
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7b5f;
/* rgb */ color: rgb(44, 123, 95);
/* oklch */ color: oklch(52.6% 0.089 166.2);
Tailwind
colors: {
  custom: {
    50: '#6ea28c',
    500: '#2c7b5f',
    950: '#000000',
  },
}
SCSS
$custom: #2c7b5f;
$custom-light: #6ea28c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7b5f",
  "rgb": {
    "r": 44,
    "g": 123,
    "b": 95
  },
  "hsl": {
    "h": 158.734,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52642,
    "c": 0.08925,
    "h": 166.2
  },
  "luminance": 0.15528
}

Semantic roles & 50–950 ramp

primary
#2C7B5F
secondary
#AB5875
accent
#5180D7
background
#F7FAF8
surface
#EDF3F0
border
#C8CDCB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #2C7B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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