#2D9127#2D9127

#2D9127 is a mid, vivid green. Relative luminance 0.210; OKLCH L 57.8% C 0.169 H 142.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2D9127
RGBrgb(45, 145, 39)
HSLhsl(117, 58%, 36%)
HSVhsv(117, 73%, 57%)
CMYKcmyk(69%, 0%, 73.1%, 43.1%)
CIE-LABlab(52.90, -49.16, 45.52)
CIE-LCHlch(52.90, 67.00, 137.20°)
OKLaboklab(57.78% -0.1338 0.1035)
OKLCHoklch(57.78% 0.169 142.3)
XYZxyz(11.5731, 20.9540, 5.3537)
Luminance0.2095 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9127 #8B2791
analogous
#629127 #2D9127 #279156
triadic
#2D9127 #272D91 #91272D
tetradic
#2D9127 #276291 #8B2791 #915627
square
#2D9127 #276291 #8B2791 #915627
split-complementary
#2D9127 #562791 #912762
monochromatic
#0F310D #1E611A #2D9127 #3CC134 #65D45F

Accessibility & contrast

On white

4.05
#2D9127 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#2D9127 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9127
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9127#FFFFFF#000000##000000
##2D91271.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948315
Deuteranopia (green-blind)
#897B32
Tritanopia (blue-blind)
#158D7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2d9127;
/* rgb */ color: rgb(45, 145, 39);
/* oklch */ color: oklch(57.8% 0.169 142.3);
Tailwind
colors: {
  custom: {
    50: '#75b268',
    500: '#2d9127',
    950: '#000000',
  },
}
SCSS
$custom: #2d9127;
$custom-light: #75b268;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9127",
  "rgb": {
    "r": 45,
    "g": 145,
    "b": 39
  },
  "hsl": {
    "h": 116.604,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57775,
    "c": 0.16914,
    "h": 142.3
  },
  "luminance": 0.20955
}

Semantic roles & 50–950 ramp

primary
#2D9127
secondary
#B45BB9
accent
#47E1D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2D9127

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

Preview Lab → · Contrast checker → · Palette generator →

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