#2D8727#2D8727

#2D8727 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.0% C 0.157 H 142.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2D8727
RGBrgb(45, 135, 39)
HSLhsl(116, 55%, 34%)
HSVhsv(116, 71%, 53%)
CMYKcmyk(66.7%, 0%, 71.1%, 47.1%)
CIE-LABlab(49.53, -45.56, 42.01)
CIE-LCHlch(49.53, 61.97, 137.32°)
OKLaboklab(54.99% -0.124 0.0961)
OKLCHoklch(54.99% 0.157 142.2)
XYZxyz(10.1118, 18.0313, 4.8666)
Luminance0.1803 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8727 #812787
analogous
#5D8727 #2D8727 #278751
triadic
#2D8727 #272D87 #87272D
tetradic
#2D8727 #275D87 #812787 #875127
square
#2D8727 #275D87 #812787 #875127
split-complementary
#2D8727 #512787 #87275D
monochromatic
#0D280C #1D5819 #2D8727 #3DB635 #61CF59

Accessibility & contrast

On white

4.56
#2D8727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#2D8727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8727
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8727#FFFFFF#000000##000000
##2D87271.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A19
Deuteranopia (green-blind)
#7F7330
Tritanopia (blue-blind)
#1B8374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d8727;
/* rgb */ color: rgb(45, 135, 39);
/* oklch */ color: oklch(55.0% 0.157 142.2);
Tailwind
colors: {
  custom: {
    50: '#72ab67',
    500: '#2d8727',
    950: '#000000',
  },
}
SCSS
$custom: #2d8727;
$custom-light: #72ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8727",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 116.25,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54989,
    "c": 0.15694,
    "h": 142.2
  },
  "luminance": 0.18032
}

Semantic roles & 50–950 ramp

primary
#2D8727
secondary
#AE56B4
accent
#49DFD5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8727

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

Preview Lab → · Contrast checker → · Palette generator →

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