#2C812E#2C812E

#2C812E is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.144 H 143.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2C812E
RGBrgb(44, 129, 46)
HSLhsl(121, 49%, 34%)
HSVhsv(121, 66%, 51%)
CMYKcmyk(65.9%, 0%, 64.3%, 49.4%)
CIE-LABlab(47.54, -42.79, 36.70)
CIE-LCHlch(47.54, 56.37, 139.38°)
OKLaboklab(53.35% -0.1161 0.0857)
OKLCHoklch(53.35% 0.144 143.6)
XYZxyz(9.3816, 16.4323, 5.2616)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C812E #812C7F
analogous
#55812C #2C812E #2C8159
triadic
#2C812E #2E2C81 #812E2C
tetradic
#2C812E #2C5581 #812C7F #81592C
square
#2C812E #2C5581 #812C7F #81592C
split-complementary
#2C812E #592C81 #812C55
monochromatic
#0D260D #1C531E #2C812E #3CAF3E #5FC861

Accessibility & contrast

On white

4.90
#2C812E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2C812E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C812E
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C812E#FFFFFF#000000##FFFFFF
##2C812E1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847525
Deuteranopia (green-blind)
#796E35
Tritanopia (blue-blind)
#197D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c812e;
/* rgb */ color: rgb(44, 129, 46);
/* oklch */ color: oklch(53.3% 0.144 143.6);
Tailwind
colors: {
  custom: {
    50: '#70a66a',
    500: '#2c812e',
    950: '#000000',
  },
}
SCSS
$custom: #2c812e;
$custom-light: #70a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c812e",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 121.412,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53349,
    "c": 0.14433,
    "h": 143.6
  },
  "luminance": 0.16433
}

Semantic roles & 50–950 ramp

primary
#2C812E
secondary
#AF5AAD
accent
#4FD5D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2C812E

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

Preview Lab → · Contrast checker → · Palette generator →

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