#2D8122#2D8122

#2D8122 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.153 H 141.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2D8122
RGBrgb(45, 129, 34)
HSLhsl(113, 58%, 32%)
HSVhsv(113, 74%, 51%)
CMYKcmyk(65.1%, 0%, 73.6%, 49.4%)
CIE-LABlab(47.46, -43.79, 41.91)
CIE-LCHlch(47.46, 60.61, 136.26°)
OKLaboklab(53.26% -0.1195 0.0953)
OKLCHoklch(53.26% 0.153 141.5)
XYZxyz(9.2207, 16.3730, 4.1874)
Luminance0.1637 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8122 #762281
analogous
#5D8122 #2D8122 #228147
triadic
#2D8122 #222D81 #81222D
tetradic
#2D8122 #225D81 #762281 #814722
square
#2D8122 #225D81 #762281 #814722
split-complementary
#2D8122 #472281 #81225D
monochromatic
#0B2008 #1C5115 #2D8122 #3EB12F #5CD04D

Accessibility & contrast

On white

4.91
#2D8122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D8122
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8122#FFFFFF#000000##FFFFFF
##2D81221.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847512
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#1E7D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d8122;
/* rgb */ color: rgb(45, 129, 34);
/* oklch */ color: oklch(53.3% 0.153 141.5);
Tailwind
colors: {
  custom: {
    50: '#71a663',
    500: '#2d8122',
    950: '#000000',
  },
}
SCSS
$custom: #2d8122;
$custom-light: #71a663;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8122",
  "rgb": {
    "r": 45,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 113.053,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5326,
    "c": 0.15286,
    "h": 141.5
  },
  "luminance": 0.16374
}

Semantic roles & 50–950 ramp

primary
#2D8122
secondary
#A74BB3
accent
#46E1D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2D8122

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

Preview Lab → · Contrast checker → · Palette generator →

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