#2D7B25#2D7B25

#2D7B25 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.143 H 141.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2D7B25
RGBrgb(45, 123, 37)
HSLhsl(114, 54%, 31%)
HSVhsv(114, 70%, 48%)
CMYKcmyk(63.4%, 0%, 69.9%, 51.8%)
CIE-LABlab(45.44, -41.23, 38.51)
CIE-LCHlch(45.44, 56.42, 136.95°)
OKLaboklab(51.6% -0.1124 0.0885)
OKLCHoklch(51.6% 0.143 141.8)
XYZxyz(8.4986, 14.8566, 4.1696)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B25 #73257B
analogous
#587B25 #2D7B25 #257B48
triadic
#2D7B25 #252D7B #7B252D
tetradic
#2D7B25 #25587B #73257B #7B4825
square
#2D7B25 #25587B #73257B #7B4825
split-complementary
#2D7B25 #48257B #7B2558
monochromatic
#0B1D09 #1C4C17 #2D7B25 #3EAA33 #5BCA50

Accessibility & contrast

On white

5.29
#2D7B25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2D7B25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7B25
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7B25#FFFFFF#000000##FFFFFF
##2D7B251.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7019
Deuteranopia (green-blind)
#74692D
Tritanopia (blue-blind)
#207769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d7b25;
/* rgb */ color: rgb(45, 123, 37);
/* oklch */ color: oklch(51.6% 0.143 141.8);
Tailwind
colors: {
  custom: {
    50: '#70a264',
    500: '#2d7b25',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b25;
$custom-light: #70a264;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b25",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 37
  },
  "hsl": {
    "h": 114.419,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51595,
    "c": 0.14312,
    "h": 141.8
  },
  "luminance": 0.14857
}

Semantic roles & 50–950 ramp

primary
#2D7B25
secondary
#A44FAD
accent
#4BDDD0
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D7B25

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

Preview Lab → · Contrast checker → · Palette generator →

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