#2D8416#2D8416

#2D8416 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.163 H 140.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2D8416
RGBrgb(45, 132, 22)
HSLhsl(107, 71%, 30%)
HSVhsv(107, 83%, 52%)
CMYKcmyk(65.9%, 0%, 83.3%, 48.2%)
CIE-LABlab(48.41, -45.76, 47.07)
CIE-LCHlch(48.41, 65.65, 134.19°)
OKLaboklab(54.02% -0.1255 0.1043)
OKLCHoklch(54.02% 0.163 140.3)
XYZxyz(9.4778, 17.1174, 3.5634)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8416 #6D1684
analogous
#648416 #2D8416 #168436
triadic
#2D8416 #162D84 #84162D
tetradic
#2D8416 #166484 #6D1684 #843616
square
#2D8416 #166484 #6D1684 #843616
split-complementary
#2D8416 #361684 #841664
monochromatic
#091B05 #1B500D #2D8416 #3FB81F #5ADE37

Accessibility & contrast

On white

4.75
#2D8416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2D8416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8416
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8416#FFFFFF#000000##FFFFFF
##2D84161.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#1F7F70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2d8416;
/* rgb */ color: rgb(45, 132, 22);
/* oklch */ color: oklch(54.0% 0.163 140.3);
Tailwind
colors: {
  custom: {
    50: '#73a95e',
    500: '#2d8416',
    950: '#000000',
  },
}
SCSS
$custom: #2d8416;
$custom-light: #73a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8416",
  "rgb": {
    "r": 45,
    "g": 132,
    "b": 22
  },
  "hsl": {
    "h": 107.455,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54021,
    "c": 0.16319,
    "h": 140.3
  },
  "luminance": 0.17118
}

Semantic roles & 50–950 ramp

primary
#2D8416
secondary
#9F3DB8
accent
#3AEEC8
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2D8416

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

Preview Lab → · Contrast checker → · Palette generator →

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