#2C812F#2C812F

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

Color values

HEX#2C812F
RGBrgb(44, 129, 47)
HSLhsl(122, 49%, 34%)
HSVhsv(122, 66%, 51%)
CMYKcmyk(65.9%, 0%, 63.6%, 49.4%)
CIE-LABlab(47.55, -42.67, 36.23)
CIE-LCHlch(47.55, 55.98, 139.66°)
OKLaboklab(53.36% -0.1157 0.0848)
OKLCHoklch(53.36% 0.144 143.8)
XYZxyz(9.4015, 16.4403, 5.3666)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C812F #812C7E
analogous
#54812C #2C812F #2C815A
triadic
#2C812F #2F2C81 #812F2C
tetradic
#2C812F #2C5481 #812C7E #815A2C
square
#2C812F #2C5481 #812C7E #815A2C
split-complementary
#2C812F #5A2C81 #812C54
monochromatic
#0D260E #1C531E #2C812F #3CAF40 #5FC863

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C812F#FFFFFF#000000##FFFFFF
##2C812F1.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)
#847526
Deuteranopia (green-blind)
#796E36
Tritanopia (blue-blind)
#197D70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c812f;
/* rgb */ color: rgb(44, 129, 47);
/* oklch */ color: oklch(53.4% 0.144 143.8);
Tailwind
colors: {
  custom: {
    50: '#70a66b',
    500: '#2c812f',
    950: '#000000',
  },
}
SCSS
$custom: #2c812f;
$custom-light: #70a66b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c812f",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 47
  },
  "hsl": {
    "h": 122.118,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53361,
    "c": 0.14351,
    "h": 143.8
  },
  "luminance": 0.16441
}

Semantic roles & 50–950 ramp

primary
#2C812F
secondary
#AF5AAC
accent
#4FD4D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2C812F

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

Preview Lab → · Contrast checker → · Palette generator →

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