#2C7154#2C7154

#2C7154 is a mid, moderate teal. Relative luminance 0.130; OKLCH L 49.6% C 0.084 H 162.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#2C7154
RGBrgb(44, 113, 84)
HSLhsl(155, 44%, 31%)
HSVhsv(155, 61%, 44%)
CMYKcmyk(61.1%, 0%, 25.7%, 55.7%)
CIE-LABlab(42.74, -29.22, 9.73)
CIE-LCHlch(42.74, 30.80, 161.58°)
OKLaboklab(49.61% -0.0806 0.0249)
OKLCHoklch(49.61% 0.084 162.8)
XYZxyz(8.5433, 12.9850, 10.4419)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7154 #712C49
analogous
#2C7131 #2C7154 #2C6B71
triadic
#2C7154 #542C71 #71542C
tetradic
#2C7154 #312C71 #712C49 #6B712C
square
#2C7154 #312C71 #712C49 #6B712C
split-complementary
#2C7154 #712C6B #71312C
monochromatic
#0A1913 #1B4533 #2C7154 #3D9D75 #59BE94

Accessibility & contrast

On white

5.84
#2C7154 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2C7154 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7154
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7154#FFFFFF#000000##FFFFFF
##2C71541.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6952
Deuteranopia (green-blind)
#656256
Tritanopia (blue-blind)
#0A7169
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2c7154;
/* rgb */ color: rgb(44, 113, 84);
/* oklch */ color: oklch(49.6% 0.084 162.8);
Tailwind
colors: {
  custom: {
    50: '#6c9a84',
    500: '#2c7154',
    950: '#000000',
  },
}
SCSS
$custom: #2c7154;
$custom-light: #6c9a84;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7154",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 84
  },
  "hsl": {
    "h": 154.783,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.49609,
    "c": 0.08431,
    "h": 162.8
  },
  "luminance": 0.12986
}

Semantic roles & 50–950 ramp

primary
#2C7154
secondary
#A35676
accent
#548AD4
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2C7154

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

Preview Lab → · Contrast checker → · Palette generator →

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