#2D7E1C#2D7E1C

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

Color values

HEX#2D7E1C
RGBrgb(45, 126, 28)
HSLhsl(110, 64%, 30%)
HSVhsv(110, 78%, 49%)
CMYKcmyk(64.3%, 0%, 77.8%, 50.6%)
CIE-LABlab(46.40, -43.16, 43.14)
CIE-LCHlch(46.40, 61.03, 135.01°)
OKLaboklab(52.37% -0.1182 0.097)
OKLCHoklch(52.37% 0.153 140.6)
XYZxyz(8.7522, 15.5626, 3.6410)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E1C #6D1C7E
analogous
#5E7E1C #2D7E1C #1C7E3C
triadic
#2D7E1C #1C2D7E #7E1C2D
tetradic
#2D7E1C #1C5E7E #6D1C7E #7E3C1C
square
#2D7E1C #1C5E7E #6D1C7E #7E3C1C
split-complementary
#2D7E1C #3C1C7E #7E1C5E
monochromatic
#091A06 #1B4C11 #2D7E1C #3FB027 #5AD540

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7E1C#FFFFFF#000000##FFFFFF
##2D7E1C1.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)
#817207
Deuteranopia (green-blind)
#786B27
Tritanopia (blue-blind)
#217A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7e1c;
/* rgb */ color: rgb(45, 126, 28);
/* oklch */ color: oklch(52.4% 0.153 140.6);
Tailwind
colors: {
  custom: {
    50: '#71a460',
    500: '#2d7e1c',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e1c;
$custom-light: #71a460;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e1c",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 109.592,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52366,
    "c": 0.15289,
    "h": 140.6
  },
  "luminance": 0.15563
}

Semantic roles & 50–950 ramp

primary
#2D7E1C
secondary
#9F44B2
accent
#41E7CA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2D7E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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