#2C8451#2C8451

#2C8451 is a mid, moderate green. Relative luminance 0.176; OKLCH L 54.8% C 0.115 H 154.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2C8451
RGBrgb(44, 132, 81)
HSLhsl(145, 50%, 35%)
HSVhsv(145, 67%, 52%)
CMYKcmyk(66.7%, 0%, 38.6%, 48.2%)
CIE-LABlab(49.05, -38.38, 20.09)
CIE-LCHlch(49.05, 43.32, 152.37°)
OKLaboklab(54.76% -0.1039 0.0502)
OKLCHoklch(54.76% 0.115 154.2)
XYZxyz(10.7742, 17.6310, 10.6183)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8451 #842C5F
analogous
#33842C #2C8451 #2C847D
triadic
#2C8451 #512C84 #84512C
tetradic
#2C8451 #2C3384 #842C5F #847D2C
square
#2C8451 #2C3384 #842C5F #847D2C
split-complementary
#2C8451 #7D2C84 #842C33
monochromatic
#0D2819 #1D5635 #2C8451 #3BB26D #60CA8D

Accessibility & contrast

On white

4.64
#2C8451 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#2C8451 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8451
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8451#FFFFFF#000000##FFFFFF
##2C84511.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84794E
Deuteranopia (green-blind)
#787154
Tritanopia (blue-blind)
#008277
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c8451;
/* rgb */ color: rgb(44, 132, 81);
/* oklch */ color: oklch(54.8% 0.115 154.2);
Tailwind
colors: {
  custom: {
    50: '#70a882',
    500: '#2c8451',
    950: '#000000',
  },
}
SCSS
$custom: #2c8451;
$custom-light: #70a882;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8451",
  "rgb": {
    "r": 44,
    "g": 132,
    "b": 81
  },
  "hsl": {
    "h": 145.227,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54755,
    "c": 0.11538,
    "h": 154.2
  },
  "luminance": 0.17632
}

Semantic roles & 50–950 ramp

primary
#2C8451
secondary
#B05C8D
accent
#4E9FDA
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2C8451

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

Preview Lab → · Contrast checker → · Palette generator →

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