#2D8112#2D8112

#2D8112 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.161 H 139.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2D8112
RGBrgb(45, 129, 18)
HSLhsl(105, 76%, 29%)
HSVhsv(105, 86%, 51%)
CMYKcmyk(65.1%, 0%, 86%, 49.4%)
CIE-LABlab(47.37, -44.89, 47.26)
CIE-LCHlch(47.37, 65.18, 133.52°)
OKLaboklab(53.15% -0.1234 0.1041)
OKLCHoklch(53.15% 0.161 139.8)
XYZxyz(9.0412, 16.3012, 3.2421)
Luminance0.1630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8112 #661281
analogous
#658112 #2D8112 #12812F
triadic
#2D8112 #122D81 #81122D
tetradic
#2D8112 #126581 #661281 #812F12
square
#2D8112 #126581 #661281 #812F12
split-complementary
#2D8112 #2F1281 #811265
monochromatic
#091B04 #1A4B0B #2D8112 #40B719 #58E22C

Accessibility & contrast

On white

4.93
#2D8112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2D8112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8112
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8112#FFFFFF#000000##FFFFFF
##2D81121.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#217C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d8112;
/* rgb */ color: rgb(45, 129, 18);
/* oklch */ color: oklch(53.2% 0.161 139.8);
Tailwind
colors: {
  custom: {
    50: '#72a65c',
    500: '#2d8112',
    950: '#000000',
  },
}
SCSS
$custom: #2d8112;
$custom-light: #72a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8112",
  "rgb": {
    "r": 45,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 105.405,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53153,
    "c": 0.16143,
    "h": 139.8
  },
  "luminance": 0.16302
}

Semantic roles & 50–950 ramp

primary
#2D8112
secondary
#9838B7
accent
#36F2C4
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2D8112

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

Preview Lab → · Contrast checker → · Palette generator →

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