#2C7A32#2C7A32

#2C7A32 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.131 H 144.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2C7A32
RGBrgb(44, 122, 50)
HSLhsl(125, 47%, 33%)
HSVhsv(125, 64%, 48%)
CMYKcmyk(63.9%, 0%, 59%, 52.2%)
CIE-LABlab(45.20, -39.55, 32.04)
CIE-LCHlch(45.20, 50.90, 140.99°)
OKLaboklab(51.43% -0.1071 0.076)
OKLCHoklch(51.43% 0.131 144.6)
XYZxyz(8.5734, 14.6840, 5.3995)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7A32 #7A2C74
analogous
#4D7A2C #2C7A32 #2C7A59
triadic
#2C7A32 #322C7A #7A322C
tetradic
#2C7A32 #2C4D7A #7A2C74 #7A592C
square
#2C7A32 #2C4D7A #7A2C74 #7A592C
split-complementary
#2C7A32 #592C7A #7A2C4D
monochromatic
#0C200D #1C4D20 #2C7A32 #3CA744 #5CC464

Accessibility & contrast

On white

5.33
#2C7A32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2C7A32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7A32
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7A32#FFFFFF#000000##FFFFFF
##2C7A321.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F2B
Deuteranopia (green-blind)
#726838
Tritanopia (blue-blind)
#1B776A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c7a32;
/* rgb */ color: rgb(44, 122, 50);
/* oklch */ color: oklch(51.4% 0.131 144.6);
Tailwind
colors: {
  custom: {
    50: '#6fa16c',
    500: '#2c7a32',
    950: '#000000',
  },
}
SCSS
$custom: #2c7a32;
$custom-light: #6fa16c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7a32",
  "rgb": {
    "r": 44,
    "g": 122,
    "b": 50
  },
  "hsl": {
    "h": 124.615,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51432,
    "c": 0.13139,
    "h": 144.6
  },
  "luminance": 0.14685
}

Semantic roles & 50–950 ramp

primary
#2C7A32
secondary
#AA57A4
accent
#51CCD7
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2C7A32

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

Preview Lab → · Contrast checker → · Palette generator →

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