#2C7254#2C7254

#2C7254 is a mid, moderate teal. Relative luminance 0.132; OKLCH L 49.9% C 0.086 H 162.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#2C7254
RGBrgb(44, 114, 84)
HSLhsl(154, 44%, 31%)
HSVhsv(154, 61%, 45%)
CMYKcmyk(61.4%, 0%, 26.3%, 55.3%)
CIE-LABlab(43.08, -29.69, 10.20)
CIE-LCHlch(43.08, 31.40, 161.04°)
OKLaboklab(49.88% -0.0817 0.0261)
OKLCHoklch(49.88% 0.086 162.3)
XYZxyz(8.6554, 13.2094, 10.4793)
Luminance0.1321 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7254 #722C4A
analogous
#2C7231 #2C7254 #2C6D72
triadic
#2C7254 #542C72 #72542C
tetradic
#2C7254 #312C72 #722C4A #6D722C
square
#2C7254 #312C72 #722C4A #6D722C
split-complementary
#2C7254 #722C6D #72312C
monochromatic
#0A1A13 #1B4633 #2C7254 #3D9E75 #59BF93

Accessibility & contrast

On white

5.77
#2C7254 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2C7254 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7254
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7254#FFFFFF#000000##FFFFFF
##2C72541.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706A52
Deuteranopia (green-blind)
#666356
Tritanopia (blue-blind)
#09726A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2c7254;
/* rgb */ color: rgb(44, 114, 84);
/* oklch */ color: oklch(49.9% 0.086 162.3);
Tailwind
colors: {
  custom: {
    50: '#6c9b84',
    500: '#2c7254',
    950: '#000000',
  },
}
SCSS
$custom: #2c7254;
$custom-light: #6c9b84;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7254",
  "rgb": {
    "r": 44,
    "g": 114,
    "b": 84
  },
  "hsl": {
    "h": 154.286,
    "s": 44.304,
    "l": 30.98
  },
  "oklch": {
    "l": 0.49883,
    "c": 0.0858,
    "h": 162.3
  },
  "luminance": 0.1321
}

Semantic roles & 50–950 ramp

primary
#2C7254
secondary
#A45677
accent
#548BD4
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2C7254

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

Preview Lab → · Contrast checker → · Palette generator →

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