#2D7A25#2D7A25

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

Color values

HEX#2D7A25
RGBrgb(45, 122, 37)
HSLhsl(114, 53%, 31%)
HSVhsv(114, 70%, 48%)
CMYKcmyk(63.1%, 0%, 69.7%, 52.2%)
CIE-LABlab(45.09, -40.84, 38.15)
CIE-LCHlch(45.09, 55.89, 136.96°)
OKLaboklab(51.31% -0.1114 0.0878)
OKLCHoklch(51.31% 0.142 141.8)
XYZxyz(8.3752, 14.6097, 4.1285)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7A25 #72257A
analogous
#577A25 #2D7A25 #257A47
triadic
#2D7A25 #252D7A #7A252D
tetradic
#2D7A25 #25577A #72257A #7A4725
square
#2D7A25 #25577A #72257A #7A4725
split-complementary
#2D7A25 #47257A #7A2557
monochromatic
#0A1C09 #1C4B17 #2D7A25 #3EA933 #5BCA50

Accessibility & contrast

On white

5.35
#2D7A25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2D7A25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7A25
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7A25#FFFFFF#000000##FFFFFF
##2D7A251.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F19
Deuteranopia (green-blind)
#73682D
Tritanopia (blue-blind)
#207669
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d7a25;
/* rgb */ color: rgb(45, 122, 37);
/* oklch */ color: oklch(51.3% 0.142 141.8);
Tailwind
colors: {
  custom: {
    50: '#70a164',
    500: '#2d7a25',
    950: '#000000',
  },
}
SCSS
$custom: #2d7a25;
$custom-light: #70a164;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7a25",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 37
  },
  "hsl": {
    "h": 114.353,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51312,
    "c": 0.14181,
    "h": 141.8
  },
  "luminance": 0.14611
}

Semantic roles & 50–950 ramp

primary
#2D7A25
secondary
#A34EAC
accent
#4BDDCF
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D7A25

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

Preview Lab → · Contrast checker → · Palette generator →

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