#2C8152#2C8152

#2C8152 is a mid, moderate green. Relative luminance 0.168; OKLCH L 54.0% C 0.110 H 155.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2C8152
RGBrgb(44, 129, 82)
HSLhsl(147, 49%, 34%)
HSVhsv(147, 66%, 51%)
CMYKcmyk(65.9%, 0%, 36.4%, 49.4%)
CIE-LABlab(48.06, -36.90, 18.21)
CIE-LCHlch(48.06, 41.15, 153.74°)
OKLaboklab(53.95% -0.1001 0.0458)
OKLCHoklch(53.95% 0.11 155.4)
XYZxyz(10.4110, 16.8441, 10.6836)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8152 #812C5B
analogous
#30812C #2C8152 #2C817D
triadic
#2C8152 #522C81 #81522C
tetradic
#2C8152 #2C3081 #812C5B #817D2C
square
#2C8152 #2C3081 #812C5B #817D2C
split-complementary
#2C8152 #7D2C81 #812C30
monochromatic
#0D2618 #1C5335 #2C8152 #3CAF6F #5FC88E

Accessibility & contrast

On white

4.81
#2C8152 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2C8152 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8152
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8152#FFFFFF#000000##FFFFFF
##2C81521.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80774F
Deuteranopia (green-blind)
#756F55
Tritanopia (blue-blind)
#008075
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c8152;
/* rgb */ color: rgb(44, 129, 82);
/* oklch */ color: oklch(54.0% 0.110 155.4);
Tailwind
colors: {
  custom: {
    50: '#6fa683',
    500: '#2c8152',
    950: '#000000',
  },
}
SCSS
$custom: #2c8152;
$custom-light: #6fa683;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8152",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 82
  },
  "hsl": {
    "h": 146.824,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53954,
    "c": 0.11002,
    "h": 155.4
  },
  "luminance": 0.16845
}

Semantic roles & 50–950 ramp

primary
#2C8152
secondary
#AF5A89
accent
#4F9BD9
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2C8152

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

Preview Lab → · Contrast checker → · Palette generator →

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