#2D7D27#2D7D27

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

Color values

HEX#2D7D27
RGBrgb(45, 125, 39)
HSLhsl(116, 52%, 32%)
HSVhsv(116, 69%, 49%)
CMYKcmyk(64%, 0%, 68.8%, 51%)
CIE-LABlab(46.14, -41.80, 38.38)
CIE-LCHlch(46.14, 56.75, 137.44°)
OKLaboklab(52.18% -0.1139 0.0885)
OKLCHoklch(52.18% 0.144 142.1)
XYZxyz(8.7815, 15.3708, 4.4231)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7D27 #77277D
analogous
#587D27 #2D7D27 #277D4C
triadic
#2D7D27 #272D7D #7D272D
tetradic
#2D7D27 #27587D #77277D #7D4C27
square
#2D7D27 #27587D #77277D #7D4C27
split-complementary
#2D7D27 #4C277D #7D2758
monochromatic
#0B200A #1C4E18 #2D7D27 #3EAC36 #5DCA55

Accessibility & contrast

On white

5.15
#2D7D27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D7D27
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7D27#FFFFFF#000000##FFFFFF
##2D7D271.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711C
Deuteranopia (green-blind)
#766B2F
Tritanopia (blue-blind)
#1F796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7d27;
/* rgb */ color: rgb(45, 125, 39);
/* oklch */ color: oklch(52.2% 0.144 142.1);
Tailwind
colors: {
  custom: {
    50: '#70a366',
    500: '#2d7d27',
    950: '#000000',
  },
}
SCSS
$custom: #2d7d27;
$custom-light: #70a366;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7d27",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 39
  },
  "hsl": {
    "h": 115.814,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5218,
    "c": 0.14422,
    "h": 142.1
  },
  "luminance": 0.15372
}

Semantic roles & 50–950 ramp

primary
#2D7D27
secondary
#A851AF
accent
#4CDCD2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D7D27

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

Preview Lab → · Contrast checker → · Palette generator →

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