#2D7F24#2D7F24

#2D7F24 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.149 H 141.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2D7F24
RGBrgb(45, 127, 36)
HSLhsl(114, 56%, 32%)
HSVhsv(114, 72%, 50%)
CMYKcmyk(64.6%, 0%, 71.7%, 50.2%)
CIE-LABlab(46.79, -42.86, 40.39)
CIE-LCHlch(46.79, 58.89, 136.70°)
OKLaboklab(52.71% -0.1169 0.0923)
OKLCHoklch(52.71% 0.149 141.7)
XYZxyz(8.9895, 15.8631, 4.2569)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7F24 #76247F
analogous
#5B7F24 #2D7F24 #247F49
triadic
#2D7F24 #242D7F #7F242D
tetradic
#2D7F24 #245B7F #76247F #7F4924
square
#2D7F24 #245B7F #76247F #7F4924
split-complementary
#2D7F24 #49247F #7F245B
monochromatic
#0B2009 #1C4F16 #2D7F24 #3EAF32 #5CCD50

Accessibility & contrast

On white

5.03
#2D7F24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#2D7F24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7F24
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7F24#FFFFFF#000000##FFFFFF
##2D7F241.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827316
Deuteranopia (green-blind)
#786C2D
Tritanopia (blue-blind)
#1F7B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d7f24;
/* rgb */ color: rgb(45, 127, 36);
/* oklch */ color: oklch(52.7% 0.149 141.7);
Tailwind
colors: {
  custom: {
    50: '#71a564',
    500: '#2d7f24',
    950: '#000000',
  },
}
SCSS
$custom: #2d7f24;
$custom-light: #71a564;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7f24",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 36
  },
  "hsl": {
    "h": 114.066,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52714,
    "c": 0.14898,
    "h": 141.7
  },
  "luminance": 0.15864
}

Semantic roles & 50–950 ramp

primary
#2D7F24
secondary
#A74EB1
accent
#49DFD0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D7F24

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

Preview Lab → · Contrast checker → · Palette generator →

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