#2C812A#2C812A

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

Color values

HEX#2C812A
RGBrgb(44, 129, 42)
HSLhsl(119, 51%, 34%)
HSVhsv(119, 67%, 51%)
CMYKcmyk(65.9%, 0%, 67.4%, 49.4%)
CIE-LABlab(47.50, -43.24, 38.51)
CIE-LCHlch(47.50, 57.90, 138.32°)
OKLaboklab(53.3% -0.1175 0.0891)
OKLCHoklch(53.3% 0.148 142.8)
XYZxyz(9.3064, 16.4022, 4.8655)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C812A #7F2A81
analogous
#57812A #2C812A #2A8153
triadic
#2C812A #2A2C81 #812A2C
tetradic
#2C812A #2A5781 #7F2A81 #81532A
square
#2C812A #2A5781 #7F2A81 #81532A
split-complementary
#2C812A #532A81 #812A57
monochromatic
#0D250C #1C531B #2C812A #3CAF39 #5ECA5C

Accessibility & contrast

On white

4.91
#2C812A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2C812A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C812A
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C812A#FFFFFF#000000##FFFFFF
##2C812A1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751F
Deuteranopia (green-blind)
#7A6E32
Tritanopia (blue-blind)
#1A7D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c812a;
/* rgb */ color: rgb(44, 129, 42);
/* oklch */ color: oklch(53.3% 0.148 142.8);
Tailwind
colors: {
  custom: {
    50: '#71a668',
    500: '#2c812a',
    950: '#000000',
  },
}
SCSS
$custom: #2c812a;
$custom-light: #71a668;
$custom-dark: #000000;
JSON
{
  "hex": "#2c812a",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 42
  },
  "hsl": {
    "h": 118.621,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53304,
    "c": 0.14752,
    "h": 142.8
  },
  "luminance": 0.16403
}

Semantic roles & 50–950 ramp

primary
#2C812A
secondary
#AD57AF
accent
#4DDAD7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C812A

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

Preview Lab → · Contrast checker → · Palette generator →

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