#2D7E25#2D7E25

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

Color values

HEX#2D7E25
RGBrgb(45, 126, 37)
HSLhsl(115, 55%, 32%)
HSVhsv(115, 71%, 49%)
CMYKcmyk(64.3%, 0%, 70.6%, 50.6%)
CIE-LABlab(46.46, -42.38, 39.61)
CIE-LCHlch(46.46, 58.01, 136.94°)
OKLaboklab(52.44% -0.1156 0.0908)
OKLCHoklch(52.44% 0.147 141.8)
XYZxyz(8.8765, 15.6123, 4.2956)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E25 #76257E
analogous
#5A7E25 #2D7E25 #257E4A
triadic
#2D7E25 #252D7E #7E252D
tetradic
#2D7E25 #255A7E #76257E #7E4A25
square
#2D7E25 #255A7E #76257E #7E4A25
split-complementary
#2D7E25 #4A257E #7E255A
monochromatic
#0B1F09 #1C4F17 #2D7E25 #3EAD33 #5CCC51

Accessibility & contrast

On white

5.09
#2D7E25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D7E25
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7E25#FFFFFF#000000##FFFFFF
##2D7E251.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d7e25;
/* rgb */ color: rgb(45, 126, 37);
/* oklch */ color: oklch(52.4% 0.147 141.8);
Tailwind
colors: {
  custom: {
    50: '#71a464',
    500: '#2d7e25',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e25;
$custom-light: #71a464;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e25",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 37
  },
  "hsl": {
    "h": 114.607,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52442,
    "c": 0.14698,
    "h": 141.8
  },
  "luminance": 0.15613
}

Semantic roles & 50–950 ramp

primary
#2D7E25
secondary
#A74FB0
accent
#4ADED1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D7E25

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

Preview Lab → · Contrast checker → · Palette generator →

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