#2C8A45#2C8A45

#2C8A45 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.2% C 0.136 H 148.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2C8A45
RGBrgb(44, 138, 69)
HSLhsl(136, 52%, 36%)
HSVhsv(136, 68%, 54%)
CMYKcmyk(68.1%, 0%, 50%, 45.9%)
CIE-LABlab(50.85, -43.02, 29.01)
CIE-LCHlch(50.85, 51.89, 146.01°)
OKLaboklab(56.18% -0.116 0.0706)
OKLCHoklch(56.18% 0.136 148.7)
XYZxyz(11.2005, 19.1409, 8.7334)
Luminance0.1914 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8A45 #8A2C71
analogous
#428A2C #2C8A45 #2C8A74
triadic
#2C8A45 #452C8A #8A452C
tetradic
#2C8A45 #2C428A #8A2C71 #8A742C
square
#2C8A45 #2C428A #8A2C71 #8A742C
split-complementary
#2C8A45 #742C8A #8A2C42
monochromatic
#0E2D17 #1D5C2E #2C8A45 #3BB85C #63CD7F

Accessibility & contrast

On white

4.35
#2C8A45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2C8A45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8A45
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8A45#FFFFFF#000000##000000
##2C8A451.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E3F
Deuteranopia (green-blind)
#80764A
Tritanopia (blue-blind)
#05877A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2c8a45;
/* rgb */ color: rgb(44, 138, 69);
/* oklch */ color: oklch(56.2% 0.136 148.7);
Tailwind
colors: {
  custom: {
    50: '#71ad7a',
    500: '#2c8a45',
    950: '#000000',
  },
}
SCSS
$custom: #2c8a45;
$custom-light: #71ad7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8a45",
  "rgb": {
    "r": 44,
    "g": 138,
    "b": 69
  },
  "hsl": {
    "h": 135.957,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56179,
    "c": 0.13577,
    "h": 148.7
  },
  "luminance": 0.19142
}

Semantic roles & 50–950 ramp

primary
#2C8A45
secondary
#B45E9D
accent
#4DB5DB
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2C8A45

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

Preview Lab → · Contrast checker → · Palette generator →

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