#2D7E1A#2D7E1A

#2D7E1A is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.154 H 140.4°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2D7E1A
RGBrgb(45, 126, 26)
HSLhsl(109, 66%, 30%)
HSVhsv(109, 79%, 49%)
CMYKcmyk(64.3%, 0%, 79.4%, 50.6%)
CIE-LABlab(46.38, -43.30, 43.85)
CIE-LCHlch(46.38, 61.63, 134.64°)
OKLaboklab(52.35% -0.1187 0.0982)
OKLCHoklch(52.35% 0.154 140.4)
XYZxyz(8.7291, 15.5533, 3.5192)
Luminance0.1555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E1A #6B1A7E
analogous
#5F7E1A #2D7E1A #1A7E39
triadic
#2D7E1A #1A2D7E #7E1A2D
tetradic
#2D7E1A #1A5F7E #6B1A7E #7E391A
square
#2D7E1A #1A5F7E #6B1A7E #7E391A
split-complementary
#2D7E1A #391A7E #7E1A5F
monochromatic
#091905 #1B4B10 #2D7E1A #3FB124 #59D73C

Accessibility & contrast

On white

5.11
#2D7E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2D7E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7E1A
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7E1A#FFFFFF#000000##FFFFFF
##2D7E1A1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827202
Deuteranopia (green-blind)
#786B25
Tritanopia (blue-blind)
#217A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7e1a;
/* rgb */ color: rgb(45, 126, 26);
/* oklch */ color: oklch(52.4% 0.154 140.4);
Tailwind
colors: {
  custom: {
    50: '#71a45f',
    500: '#2d7e1a',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e1a;
$custom-light: #71a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e1a",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 108.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52351,
    "c": 0.15403,
    "h": 140.4
  },
  "luminance": 0.15554
}

Semantic roles & 50–950 ramp

primary
#2D7E1A
secondary
#9D42B2
accent
#3FE9C8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2D7E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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