#2D7112#2D7112

#2D7112 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.142 H 138.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#2D7112
RGBrgb(45, 113, 18)
HSLhsl(103, 73%, 26%)
HSVhsv(103, 84%, 44%)
CMYKcmyk(60.2%, 0%, 84.1%, 55.7%)
CIE-LABlab(41.86, -38.87, 42.22)
CIE-LCHlch(41.86, 57.38, 132.64°)
OKLaboklab(48.6% -0.1072 0.0935)
OKLCHoklch(48.6% 0.142 138.9)
XYZxyz(7.0962, 12.4112, 2.5938)
Luminance0.1241 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7112 #561271
analogous
#5C7112 #2D7112 #127126
triadic
#2D7112 #122D71 #71122D
tetradic
#2D7112 #125C71 #561271 #712612
square
#2D7112 #125C71 #561271 #712612
split-complementary
#2D7112 #261271 #71125C
monochromatic
#0B1A04 #183C0A #2D7112 #42A61A #57DB23

Accessibility & contrast

On white

6.03
#2D7112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2D7112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7112
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7112#FFFFFF#000000##FFFFFF
##2D71121.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6C611E
Tritanopia (blue-blind)
#266D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d7112;
/* rgb */ color: rgb(45, 113, 18);
/* oklch */ color: oklch(48.6% 0.142 138.9);
Tailwind
colors: {
  custom: {
    50: '#6f9a59',
    500: '#2d7112',
    950: '#000000',
  },
}
SCSS
$custom: #2d7112;
$custom-light: #6f9a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7112",
  "rgb": {
    "r": 45,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 102.947,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48599,
    "c": 0.14227,
    "h": 138.9
  },
  "luminance": 0.12412
}

Semantic roles & 50–950 ramp

primary
#2D7112
secondary
#8837A8
accent
#39EFBB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7112

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

Preview Lab → · Contrast checker → · Palette generator →

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