#2C8254#2C8254

#2C8254 is a mid, moderate green. Relative luminance 0.171; OKLCH L 54.3% C 0.110 H 156.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2C8254
RGBrgb(44, 130, 84)
HSLhsl(148, 49%, 34%)
HSVhsv(148, 66%, 51%)
CMYKcmyk(66.2%, 0%, 35.4%, 49%)
CIE-LABlab(48.44, -36.91, 17.57)
CIE-LCHlch(48.44, 40.88, 154.55°)
OKLaboklab(54.27% -0.1002 0.0442)
OKLCHoklch(54.27% 0.11 156.2)
XYZxyz(10.6206, 17.1397, 11.1344)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8254 #822C5A
analogous
#2F822C #2C8254 #2C827F
triadic
#2C8254 #542C82 #82542C
tetradic
#2C8254 #2C2F82 #822C5A #827F2C
square
#2C8254 #2C2F82 #822C5A #827F2C
split-complementary
#2C8254 #7F2C82 #822C2F
monochromatic
#0D2719 #1D5436 #2C8254 #3BB072 #5FC991

Accessibility & contrast

On white

4.74
#2C8254 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2C8254 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8254
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8254#FFFFFF#000000##FFFFFF
##2C82541.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817851
Deuteranopia (green-blind)
#767057
Tritanopia (blue-blind)
#008176
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c8254;
/* rgb */ color: rgb(44, 130, 84);
/* oklch */ color: oklch(54.3% 0.110 156.2);
Tailwind
colors: {
  custom: {
    50: '#6fa784',
    500: '#2c8254',
    950: '#000000',
  },
}
SCSS
$custom: #2c8254;
$custom-light: #6fa784;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8254",
  "rgb": {
    "r": 44,
    "g": 130,
    "b": 84
  },
  "hsl": {
    "h": 147.907,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54273,
    "c": 0.10951,
    "h": 156.2
  },
  "luminance": 0.17141
}

Semantic roles & 50–950 ramp

primary
#2C8254
secondary
#AF5B88
accent
#4F99D9
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2C8254

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

Preview Lab → · Contrast checker → · Palette generator →

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