#2C7852#2C7852

#2C7852 is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.5% C 0.097 H 158.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2C7852
RGBrgb(44, 120, 82)
HSLhsl(150, 46%, 32%)
HSVhsv(150, 63%, 47%)
CMYKcmyk(63.3%, 0%, 31.7%, 52.9%)
CIE-LABlab(45.05, -32.93, 14.11)
CIE-LCHlch(45.05, 35.82, 156.80°)
OKLaboklab(51.48% -0.0898 0.0358)
OKLCHoklch(51.48% 0.097 158.3)
XYZxyz(9.2773, 14.5767, 10.3057)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7852 #782C52
analogous
#2C782C #2C7852 #2C7878
triadic
#2C7852 #522C78 #78522C
tetradic
#2C7852 #2C2C78 #782C52 #78782C
square
#2C7852 #2C2C78 #782C52 #78782C
split-complementary
#2C7852 #782C78 #782C2C
monochromatic
#0B1E15 #1C4B33 #2C7852 #3CA571 #5BC38F

Accessibility & contrast

On white

5.36
#2C7852 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2C7852 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7852
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7852#FFFFFF#000000##FFFFFF
##2C78521.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776F50
Deuteranopia (green-blind)
#6D6854
Tritanopia (blue-blind)
#07776E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c7852;
/* rgb */ color: rgb(44, 120, 82);
/* oklch */ color: oklch(51.5% 0.097 158.3);
Tailwind
colors: {
  custom: {
    50: '#6e9f82',
    500: '#2c7852',
    950: '#000000',
  },
}
SCSS
$custom: #2c7852;
$custom-light: #6e9f82;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7852",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 82
  },
  "hsl": {
    "h": 150,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51482,
    "c": 0.09668,
    "h": 158.3
  },
  "luminance": 0.14578
}

Semantic roles & 50–950 ramp

primary
#2C7852
secondary
#A95780
accent
#5294D6
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #2C7852

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

Preview Lab → · Contrast checker → · Palette generator →

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