#2D7D25#2D7D25

#2D7D25 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.146 H 141.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2D7D25
RGBrgb(45, 125, 37)
HSLhsl(115, 54%, 32%)
HSVhsv(115, 70%, 49%)
CMYKcmyk(64%, 0%, 70.4%, 51%)
CIE-LABlab(46.12, -42.00, 39.24)
CIE-LCHlch(46.12, 57.48, 136.94°)
OKLaboklab(52.16% -0.1145 0.0901)
OKLCHoklch(52.16% 0.146 141.8)
XYZxyz(8.7493, 15.3579, 4.2532)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7D25 #75257D
analogous
#597D25 #2D7D25 #257D49
triadic
#2D7D25 #252D7D #7D252D
tetradic
#2D7D25 #25597D #75257D #7D4925
square
#2D7D25 #25597D #75257D #7D4925
split-complementary
#2D7D25 #49257D #7D2559
monochromatic
#0B1F09 #1C4E17 #2D7D25 #3EAC33 #5CCB51

Accessibility & contrast

On white

5.16
#2D7D25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2D7D25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7D25
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7D25#FFFFFF#000000##FFFFFF
##2D7D251.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807119
Deuteranopia (green-blind)
#766B2D
Tritanopia (blue-blind)
#1F796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7d25;
/* rgb */ color: rgb(45, 125, 37);
/* oklch */ color: oklch(52.2% 0.146 141.8);
Tailwind
colors: {
  custom: {
    50: '#70a364',
    500: '#2d7d25',
    950: '#000000',
  },
}
SCSS
$custom: #2d7d25;
$custom-light: #70a364;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7d25",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 37
  },
  "hsl": {
    "h": 114.545,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5216,
    "c": 0.1457,
    "h": 141.8
  },
  "luminance": 0.15359
}

Semantic roles & 50–950 ramp

primary
#2D7D25
secondary
#A64FAF
accent
#4ADED0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D7D25

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

Preview Lab → · Contrast checker → · Palette generator →

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