#2D8119#2D8119

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

Color values

HEX#2D8119
RGBrgb(45, 129, 25)
HSLhsl(108, 68%, 30%)
HSVhsv(108, 81%, 51%)
CMYKcmyk(65.1%, 0%, 80.6%, 49.4%)
CIE-LABlab(47.40, -44.48, 45.17)
CIE-LCHlch(47.40, 63.40, 134.56°)
OKLaboklab(53.19% -0.1219 0.1008)
OKLCHoklch(53.19% 0.158 140.4)
XYZxyz(9.1075, 16.3277, 3.5911)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8119 #6D1981
analogous
#618119 #2D8119 #198139
triadic
#2D8119 #192D81 #81192D
tetradic
#2D8119 #196181 #6D1981 #813919
square
#2D8119 #196181 #6D1981 #813919
split-complementary
#2D8119 #391981 #811961
monochromatic
#091A05 #1B4E0F #2D8119 #3FB423 #5AD93B

Accessibility & contrast

On white

4.92
#2D8119 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2D8119 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8119
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8119#FFFFFF#000000##FFFFFF
##2D81191.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7B6E25
Tritanopia (blue-blind)
#207D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d8119;
/* rgb */ color: rgb(45, 129, 25);
/* oklch */ color: oklch(53.2% 0.158 140.4);
Tailwind
colors: {
  custom: {
    50: '#72a65f',
    500: '#2d8119',
    950: '#000000',
  },
}
SCSS
$custom: #2d8119;
$custom-light: #72a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8119",
  "rgb": {
    "r": 45,
    "g": 129,
    "b": 25
  },
  "hsl": {
    "h": 108.462,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53193,
    "c": 0.15817,
    "h": 140.4
  },
  "luminance": 0.16329
}

Semantic roles & 50–950 ramp

primary
#2D8119
secondary
#9F41B5
accent
#3DEAC9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2D8119

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

Preview Lab → · Contrast checker → · Palette generator →

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