#2C741A#2C741A

#2C741A is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.142 H 140.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#2C741A
RGBrgb(44, 116, 26)
HSLhsl(108, 63%, 28%)
HSVhsv(108, 78%, 45%)
CMYKcmyk(62.1%, 0%, 77.6%, 54.5%)
CIE-LABlab(42.91, -39.76, 40.43)
CIE-LCHlch(42.91, 56.71, 134.53°)
OKLaboklab(49.47% -0.1091 0.091)
OKLCHoklch(49.47% 0.142 140.2)
XYZxyz(7.4702, 13.1002, 3.1120)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C741A #621A74
analogous
#59741A #2C741A #1A7435
triadic
#2C741A #1A2C74 #741A2C
tetradic
#2C741A #1A5974 #621A74 #74351A
square
#2C741A #1A5974 #621A74 #74351A
split-complementary
#2C741A #351A74 #741A59
monochromatic
#091906 #19420F #2C741A #3FA625 #56D236

Accessibility & contrast

On white

5.80
#2C741A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2C741A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C741A
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C741A#FFFFFF#000000##FFFFFF
##2C741A1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776908
Deuteranopia (green-blind)
#6E6323
Tritanopia (blue-blind)
#227063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2c741a;
/* rgb */ color: rgb(44, 116, 26);
/* oklch */ color: oklch(49.5% 0.142 140.2);
Tailwind
colors: {
  custom: {
    50: '#6f9d5d',
    500: '#2c741a',
    950: '#000000',
  },
}
SCSS
$custom: #2c741a;
$custom-light: #6f9d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c741a",
  "rgb": {
    "r": 44,
    "g": 116,
    "b": 26
  },
  "hsl": {
    "h": 108,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49474,
    "c": 0.14208,
    "h": 140.2
  },
  "luminance": 0.13101
}

Semantic roles & 50–950 ramp

primary
#2C741A
secondary
#9441A9
accent
#41E6C5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2C741A

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

Preview Lab → · Contrast checker → · Palette generator →

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