#2A741A#2A741A

#2A741A is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.143 H 140.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2A741A
RGBrgb(42, 116, 26)
HSLhsl(109, 63%, 28%)
HSVhsv(109, 78%, 45%)
CMYKcmyk(63.8%, 0%, 77.6%, 54.5%)
CIE-LABlab(42.85, -40.29, 40.34)
CIE-LCHlch(42.85, 57.01, 134.96°)
OKLaboklab(49.4% -0.1104 0.0909)
OKLCHoklch(49.4% 0.143 140.5)
XYZxyz(7.3863, 13.0569, 3.1081)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A741A #641A74
analogous
#57741A #2A741A #1A7437
triadic
#2A741A #1A2A74 #741A2A
tetradic
#2A741A #1A5774 #641A74 #74371A
square
#2A741A #1A5774 #641A74 #74371A
split-complementary
#2A741A #371A74 #741A57
monochromatic
#091906 #18420F #2A741A #3CA625 #52D236

Accessibility & contrast

On white

5.81
#2A741A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2A741A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A741A
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A741A#FFFFFF#000000##FFFFFF
##2A741A1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776908
Deuteranopia (green-blind)
#6E6324
Tritanopia (blue-blind)
#1F7063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a741a;
/* rgb */ color: rgb(42, 116, 26);
/* oklch */ color: oklch(49.4% 0.143 140.5);
Tailwind
colors: {
  custom: {
    50: '#6e9d5d',
    500: '#2a741a',
    950: '#000000',
  },
}
SCSS
$custom: #2a741a;
$custom-light: #6e9d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a741a",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 26
  },
  "hsl": {
    "h": 109.333,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49402,
    "c": 0.14296,
    "h": 140.5
  },
  "luminance": 0.13058
}

Semantic roles & 50–950 ramp

primary
#2A741A
secondary
#9641A9
accent
#41E6C9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2A741A

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

Preview Lab → · Contrast checker → · Palette generator →

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