#2C8A54#2C8A54

#2C8A54 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.5% C 0.121 H 154.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2C8A54
RGBrgb(44, 138, 84)
HSLhsl(146, 52%, 36%)
HSVhsv(146, 68%, 54%)
CMYKcmyk(68.1%, 0%, 39.1%, 45.9%)
CIE-LABlab(51.10, -40.29, 21.14)
CIE-LCHlch(51.10, 45.50, 152.32°)
OKLaboklab(56.46% -0.1089 0.0528)
OKLCHoklch(56.46% 0.121 154.1)
XYZxyz(11.7264, 19.3513, 11.5030)
Luminance0.1935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8A54 #8A2C62
analogous
#338A2C #2C8A54 #2C8A83
triadic
#2C8A54 #542C8A #8A542C
tetradic
#2C8A54 #2C338A #8A2C62 #8A832C
square
#2C8A54 #2C338A #8A2C62 #8A832C
split-complementary
#2C8A54 #832C8A #8A2C33
monochromatic
#0E2D1C #1D5C38 #2C8A54 #3BB870 #63CD90

Accessibility & contrast

On white

4.31
#2C8A54 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2C8A54 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8A54
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8A54#FFFFFF#000000##000000
##2C8A541.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7F50
Deuteranopia (green-blind)
#7E7658
Tritanopia (blue-blind)
#00887C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c8a54;
/* rgb */ color: rgb(44, 138, 84);
/* oklch */ color: oklch(56.5% 0.121 154.1);
Tailwind
colors: {
  custom: {
    50: '#71ad84',
    500: '#2c8a54',
    950: '#000000',
  },
}
SCSS
$custom: #2c8a54;
$custom-light: #71ad84;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8a54",
  "rgb": {
    "r": 44,
    "g": 138,
    "b": 84
  },
  "hsl": {
    "h": 145.532,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56459,
    "c": 0.12107,
    "h": 154.1
  },
  "luminance": 0.19353
}

Semantic roles & 50–950 ramp

primary
#2C8A54
secondary
#B45E8F
accent
#4D9FDB
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2C8A54

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

Preview Lab → · Contrast checker → · Palette generator →

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