#2D741A#2D741A

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

Color values

HEX#2D741A
RGBrgb(45, 116, 26)
HSLhsl(107, 63%, 28%)
HSVhsv(107, 78%, 45%)
CMYKcmyk(61.2%, 0%, 77.6%, 54.5%)
CIE-LABlab(42.95, -39.49, 40.47)
CIE-LCHlch(42.95, 56.55, 134.30°)
OKLaboklab(49.51% -0.1084 0.0911)
OKLCHoklch(49.51% 0.142 140)
XYZxyz(7.5137, 13.1226, 3.1140)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D741A #611A74
analogous
#5A741A #2D741A #1A7434
triadic
#2D741A #1A2D74 #741A2D
tetradic
#2D741A #1A5A74 #611A74 #74341A
square
#2D741A #1A5A74 #611A74 #74341A
split-complementary
#2D741A #341A74 #741A5A
monochromatic
#0A1906 #1A420F #2D741A #40A625 #57D236

Accessibility & contrast

On white

5.79
#2D741A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D741A
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D741A#FFFFFF#000000##FFFFFF
##2D741A1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d741a;
/* rgb */ color: rgb(45, 116, 26);
/* oklch */ color: oklch(49.5% 0.142 140.0);
Tailwind
colors: {
  custom: {
    50: '#6f9d5d',
    500: '#2d741a',
    950: '#000000',
  },
}
SCSS
$custom: #2d741a;
$custom-light: #6f9d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d741a",
  "rgb": {
    "r": 45,
    "g": 116,
    "b": 26
  },
  "hsl": {
    "h": 107.333,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49511,
    "c": 0.14163,
    "h": 140
  },
  "luminance": 0.13123
}

Semantic roles & 50–950 ramp

primary
#2D741A
secondary
#9341A9
accent
#41E6C4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D741A

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

Preview Lab → · Contrast checker → · Palette generator →

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