#2D741F#2D741F

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

Color values

HEX#2D741F
RGBrgb(45, 116, 31)
HSLhsl(110, 58%, 29%)
HSVhsv(110, 73%, 45%)
CMYKcmyk(61.2%, 0%, 73.3%, 54.5%)
CIE-LABlab(42.98, -39.07, 38.50)
CIE-LCHlch(42.98, 54.86, 135.42°)
OKLaboklab(49.55% -0.107 0.0877)
OKLCHoklch(49.55% 0.138 140.6)
XYZxyz(7.5745, 13.1469, 3.4345)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D741F #661F74
analogous
#58741F #2D741F #1F743C
triadic
#2D741F #1F2D74 #741F2D
tetradic
#2D741F #1F5874 #661F74 #743C1F
square
#2D741F #1F5874 #661F74 #743C1F
split-complementary
#2D741F #3C1F74 #741F58
monochromatic
#091806 #1A4412 #2D741F #40A42C #58CC41

Accessibility & contrast

On white

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

On black

3.63
#2D741F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D741F#FFFFFF#000000##FFFFFF
##2D741F1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776912
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#237063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d741f;
/* rgb */ color: rgb(45, 116, 31);
/* oklch */ color: oklch(49.6% 0.138 140.6);
Tailwind
colors: {
  custom: {
    50: '#6f9d60',
    500: '#2d741f',
    950: '#000000',
  },
}
SCSS
$custom: #2d741f;
$custom-light: #6f9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#2d741f",
  "rgb": {
    "r": 45,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 110.118,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49552,
    "c": 0.13835,
    "h": 140.6
  },
  "luminance": 0.13148
}

Semantic roles & 50–950 ramp

primary
#2D741F
secondary
#9847A8
accent
#47E1C8
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D741F

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

Preview Lab → · Contrast checker → · Palette generator →

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