#2C7D29#2C7D29

#2C7D29 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.143 H 142.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2C7D29
RGBrgb(44, 125, 41)
HSLhsl(118, 51%, 33%)
HSVhsv(118, 67%, 49%)
CMYKcmyk(64.8%, 0%, 67.2%, 51%)
CIE-LABlab(46.13, -41.83, 37.46)
CIE-LCHlch(46.13, 56.15, 138.16°)
OKLaboklab(52.17% -0.1138 0.0868)
OKLCHoklch(52.17% 0.143 142.7)
XYZxyz(8.7721, 15.3619, 4.6003)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D29 #7A297D
analogous
#567D29 #2C7D29 #297D50
triadic
#2C7D29 #292C7D #7D292C
tetradic
#2C7D29 #29567D #7A297D #7D5029
square
#2C7D29 #29567D #7A297D #7D5029
split-complementary
#2C7D29 #50297D #7D2956
monochromatic
#0C210B #1C4F1A #2C7D29 #3CAB38 #5CC858

Accessibility & contrast

On white

5.16
#2C7D29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2C7D29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7D29
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D29#FFFFFF#000000##FFFFFF
##2C7D291.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711F
Deuteranopia (green-blind)
#766B30
Tritanopia (blue-blind)
#1C796C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c7d29;
/* rgb */ color: rgb(44, 125, 41);
/* oklch */ color: oklch(52.2% 0.143 142.7);
Tailwind
colors: {
  custom: {
    50: '#70a367',
    500: '#2c7d29',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d29;
$custom-light: #70a367;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d29",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 41
  },
  "hsl": {
    "h": 117.857,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52167,
    "c": 0.14309,
    "h": 142.7
  },
  "luminance": 0.15363
}

Semantic roles & 50–950 ramp

primary
#2C7D29
secondary
#AA54AE
accent
#4EDAD5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C7D29

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

Preview Lab → · Contrast checker → · Palette generator →

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