#2D8516#2D8516

#2D8516 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.164 H 140.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2D8516
RGBrgb(45, 133, 22)
HSLhsl(108, 72%, 30%)
HSVhsv(108, 83%, 52%)
CMYKcmyk(66.2%, 0%, 83.5%, 47.8%)
CIE-LABlab(48.75, -46.12, 47.39)
CIE-LCHlch(48.75, 66.13, 134.22°)
OKLaboklab(54.3% -0.1265 0.105)
OKLCHoklch(54.3% 0.164 140.3)
XYZxyz(9.6141, 17.3899, 3.6088)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8516 #6E1685
analogous
#648516 #2D8516 #168537
triadic
#2D8516 #162D85 #85162D
tetradic
#2D8516 #166485 #6E1685 #853716
square
#2D8516 #166485 #6E1685 #853716
split-complementary
#2D8516 #371685 #851664
monochromatic
#091C05 #1B500D #2D8516 #3FBA1F #5ADE37

Accessibility & contrast

On white

4.69
#2D8516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2D8516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8516
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8516#FFFFFF#000000##FFFFFF
##2D85161.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#1F8071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d8516;
/* rgb */ color: rgb(45, 133, 22);
/* oklch */ color: oklch(54.3% 0.164 140.3);
Tailwind
colors: {
  custom: {
    50: '#73a95e',
    500: '#2d8516',
    950: '#000000',
  },
}
SCSS
$custom: #2d8516;
$custom-light: #73a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8516",
  "rgb": {
    "r": 45,
    "g": 133,
    "b": 22
  },
  "hsl": {
    "h": 107.568,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54303,
    "c": 0.16436,
    "h": 140.3
  },
  "luminance": 0.17391
}

Semantic roles & 50–950 ramp

primary
#2D8516
secondary
#A03EB9
accent
#39EEC9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2D8516

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

Preview Lab → · Contrast checker → · Palette generator →

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