#2D8A16#2D8A16

#2D8A16 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.170 H 140.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2D8A16
RGBrgb(45, 138, 22)
HSLhsl(108, 73%, 31%)
HSVhsv(108, 84%, 54%)
CMYKcmyk(67.4%, 0%, 84.1%, 45.9%)
CIE-LABlab(50.44, -47.90, 48.95)
CIE-LCHlch(50.44, 68.49, 134.37°)
OKLaboklab(55.71% -0.1313 0.1082)
OKLCHoklch(55.71% 0.17 140.5)
XYZxyz(10.3150, 18.7917, 3.8425)
Luminance0.1879 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8A16 #73168A
analogous
#678A16 #2D8A16 #168A39
triadic
#2D8A16 #162D8A #8A162D
tetradic
#2D8A16 #16678A #73168A #8A3916
square
#2D8A16 #16678A #73168A #8A3916
split-complementary
#2D8A16 #39168A #8A1667
monochromatic
#0B2005 #1C550E #2D8A16 #3EBF1E #5BE03B

Accessibility & contrast

On white

4.41
#2D8A16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#2D8A16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8A16
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8A16#FFFFFF#000000##000000
##2D8A161.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#837525
Tritanopia (blue-blind)
#1D8575
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d8a16;
/* rgb */ color: rgb(45, 138, 22);
/* oklch */ color: oklch(55.7% 0.170 140.5);
Tailwind
colors: {
  custom: {
    50: '#74ad5f',
    500: '#2d8a16',
    950: '#000000',
  },
}
SCSS
$custom: #2d8a16;
$custom-light: #74ad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8a16",
  "rgb": {
    "r": 45,
    "g": 138,
    "b": 22
  },
  "hsl": {
    "h": 108.103,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55707,
    "c": 0.17013,
    "h": 140.5
  },
  "luminance": 0.18793
}

Semantic roles & 50–950 ramp

primary
#2D8A16
secondary
#A43EBE
accent
#39EFCB
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2D8A16

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

Preview Lab → · Contrast checker → · Palette generator →

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