#2C8257#2C8257

#2C8257 is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.3% C 0.107 H 157.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2C8257
RGBrgb(44, 130, 87)
HSLhsl(150, 49%, 34%)
HSVhsv(150, 66%, 51%)
CMYKcmyk(66.2%, 0%, 33.1%, 49%)
CIE-LABlab(48.50, -36.27, 15.94)
CIE-LCHlch(48.50, 39.61, 156.28°)
OKLaboklab(54.34% -0.0987 0.0403)
OKLCHoklch(54.34% 0.107 157.8)
XYZxyz(10.7407, 17.1877, 11.7665)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8257 #822C57
analogous
#2C822C #2C8257 #2C8282
triadic
#2C8257 #572C82 #82572C
tetradic
#2C8257 #2C2C82 #822C57 #82822C
square
#2C8257 #2C2C82 #822C57 #82822C
split-complementary
#2C8257 #822C82 #822C2C
monochromatic
#0D271A #1D5438 #2C8257 #3BB076 #5FC994

Accessibility & contrast

On white

4.73
#2C8257 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2C8257 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8257
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8257#FFFFFF#000000##FFFFFF
##2C82571.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817854
Deuteranopia (green-blind)
#76705A
Tritanopia (blue-blind)
#008177
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c8257;
/* rgb */ color: rgb(44, 130, 87);
/* oklch */ color: oklch(54.3% 0.107 157.8);
Tailwind
colors: {
  custom: {
    50: '#6fa786',
    500: '#2c8257',
    950: '#000000',
  },
}
SCSS
$custom: #2c8257;
$custom-light: #6fa786;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8257",
  "rgb": {
    "r": 44,
    "g": 130,
    "b": 87
  },
  "hsl": {
    "h": 150,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54342,
    "c": 0.10659,
    "h": 157.8
  },
  "luminance": 0.17189
}

Semantic roles & 50–950 ramp

primary
#2C8257
secondary
#AF5B85
accent
#4F94D9
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2C8257

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

Preview Lab → · Contrast checker → · Palette generator →

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