#2D7E27#2D7E27

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

Color values

HEX#2D7E27
RGBrgb(45, 126, 39)
HSLhsl(116, 53%, 32%)
HSVhsv(116, 69%, 49%)
CMYKcmyk(64.3%, 0%, 69%, 50.6%)
CIE-LABlab(46.48, -42.18, 38.75)
CIE-LCHlch(46.48, 57.28, 137.43°)
OKLaboklab(52.46% -0.1149 0.0893)
OKLCHoklch(52.46% 0.146 142.2)
XYZxyz(8.9088, 15.6252, 4.4655)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E27 #78277E
analogous
#597E27 #2D7E27 #277E4D
triadic
#2D7E27 #272D7E #7E272D
tetradic
#2D7E27 #27597E #78277E #7E4D27
square
#2D7E27 #27597E #78277E #7E4D27
split-complementary
#2D7E27 #4D277E #7E2759
monochromatic
#0C210A #1C4F19 #2D7E27 #3EAD35 #5DCA55

Accessibility & contrast

On white

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

On black

4.13
#2D7E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D7E27#FFFFFF#000000##FFFFFF
##2D7E271.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721B
Deuteranopia (green-blind)
#776C2F
Tritanopia (blue-blind)
#1E7A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7e27;
/* rgb */ color: rgb(45, 126, 39);
/* oklch */ color: oklch(52.5% 0.146 142.2);
Tailwind
colors: {
  custom: {
    50: '#71a466',
    500: '#2d7e27',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e27;
$custom-light: #71a466;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e27",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 115.862,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52462,
    "c": 0.14551,
    "h": 142.2
  },
  "luminance": 0.15626
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D7E27

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

Preview Lab → · Contrast checker → · Palette generator →

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