#2D8016#2D8016

#2D8016 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.158 H 140.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2D8016
RGBrgb(45, 128, 22)
HSLhsl(107, 71%, 29%)
HSVhsv(107, 83%, 50%)
CMYKcmyk(64.8%, 0%, 82.8%, 49.8%)
CIE-LABlab(47.04, -44.30, 45.80)
CIE-LCHlch(47.04, 63.72, 134.05°)
OKLaboklab(52.89% -0.1216 0.1016)
OKLCHoklch(52.89% 0.158 140.1)
XYZxyz(8.9458, 16.0533, 3.3861)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8016 #691680
analogous
#628016 #2D8016 #168034
triadic
#2D8016 #162D80 #80162D
tetradic
#2D8016 #166280 #691680 #803416
square
#2D8016 #166280 #691680 #803416
split-complementary
#2D8016 #341680 #801662
monochromatic
#091A04 #1B4C0D #2D8016 #3FB41F #59DC34

Accessibility & contrast

On white

4.99
#2D8016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2D8016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8016
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8016#FFFFFF#000000##FFFFFF
##2D80161.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d8016;
/* rgb */ color: rgb(45, 128, 22);
/* oklch */ color: oklch(52.9% 0.158 140.1);
Tailwind
colors: {
  custom: {
    50: '#72a65d',
    500: '#2d8016',
    950: '#000000',
  },
}
SCSS
$custom: #2d8016;
$custom-light: #72a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8016",
  "rgb": {
    "r": 45,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 106.981,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52892,
    "c": 0.15849,
    "h": 140.1
  },
  "luminance": 0.16054
}

Semantic roles & 50–950 ramp

primary
#2D8016
secondary
#9B3DB5
accent
#3AEDC7
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2D8016

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

Preview Lab → · Contrast checker → · Palette generator →

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