#2D7E24#2D7E24

#2D7E24 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.148 H 141.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2D7E24
RGBrgb(45, 126, 36)
HSLhsl(114, 56%, 32%)
HSVhsv(114, 71%, 49%)
CMYKcmyk(64.3%, 0%, 71.4%, 50.6%)
CIE-LABlab(46.45, -42.48, 40.03)
CIE-LCHlch(46.45, 58.37, 136.70°)
OKLaboklab(52.43% -0.1159 0.0916)
OKLCHoklch(52.43% 0.148 141.7)
XYZxyz(8.8610, 15.6061, 4.2140)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E24 #75247E
analogous
#5A7E24 #2D7E24 #247E48
triadic
#2D7E24 #242D7E #7E242D
tetradic
#2D7E24 #245A7E #75247E #7E4824
square
#2D7E24 #245A7E #75247E #7E4824
split-complementary
#2D7E24 #48247E #7E245A
monochromatic
#0B1F09 #1C4E16 #2D7E24 #3EAE32 #5CCD50

Accessibility & contrast

On white

5.10
#2D7E24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2D7E24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7E24
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7E24#FFFFFF#000000##FFFFFF
##2D7E241.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817217
Deuteranopia (green-blind)
#776C2D
Tritanopia (blue-blind)
#1F7A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7e24;
/* rgb */ color: rgb(45, 126, 36);
/* oklch */ color: oklch(52.4% 0.148 141.7);
Tailwind
colors: {
  custom: {
    50: '#71a464',
    500: '#2d7e24',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e24;
$custom-light: #71a464;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e24",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 36
  },
  "hsl": {
    "h": 114,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52432,
    "c": 0.1477,
    "h": 141.7
  },
  "luminance": 0.15607
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D7E24

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

Preview Lab → · Contrast checker → · Palette generator →

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