#2C7252#2C7252

#2C7252 is a mid, moderate teal. Relative luminance 0.132; OKLCH L 49.8% C 0.088 H 160.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#2C7252
RGBrgb(44, 114, 82)
HSLhsl(153, 44%, 31%)
HSVhsv(153, 61%, 45%)
CMYKcmyk(61.4%, 0%, 28.1%, 55.3%)
CIE-LABlab(43.03, -30.16, 11.32)
CIE-LCHlch(43.03, 32.22, 159.42°)
OKLaboklab(49.83% -0.0828 0.0289)
OKLCHoklch(49.83% 0.088 160.8)
XYZxyz(8.5782, 13.1785, 10.0726)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7252 #722C4C
analogous
#2C722F #2C7252 #2C6F72
triadic
#2C7252 #522C72 #72522C
tetradic
#2C7252 #2F2C72 #722C4C #6F722C
square
#2C7252 #2F2C72 #722C4C #6F722C
split-complementary
#2C7252 #722C6F #722F2C
monochromatic
#0A1A12 #1B4632 #2C7252 #3D9E72 #59BF91

Accessibility & contrast

On white

5.78
#2C7252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C7252
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7252#FFFFFF#000000##FFFFFF
##2C72521.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716A50
Deuteranopia (green-blind)
#676354
Tritanopia (blue-blind)
#0C7269
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2c7252;
/* rgb */ color: rgb(44, 114, 82);
/* oklch */ color: oklch(49.8% 0.088 160.8);
Tailwind
colors: {
  custom: {
    50: '#6c9b82',
    500: '#2c7252',
    950: '#000000',
  },
}
SCSS
$custom: #2c7252;
$custom-light: #6c9b82;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7252",
  "rgb": {
    "r": 44,
    "g": 114,
    "b": 82
  },
  "hsl": {
    "h": 152.571,
    "s": 44.304,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4983,
    "c": 0.08767,
    "h": 160.8
  },
  "luminance": 0.13179
}

Semantic roles & 50–950 ramp

primary
#2C7252
secondary
#A4567A
accent
#548ED4
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2C7252

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

Preview Lab → · Contrast checker → · Palette generator →

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