#2D8124#2D8124

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

Color values

HEX#2D8124
RGBrgb(45, 129, 36)
HSLhsl(114, 56%, 32%)
HSVhsv(114, 72%, 51%)
CMYKcmyk(65.1%, 0%, 72.1%, 49.4%)
CIE-LABlab(47.48, -43.61, 41.10)
CIE-LCHlch(47.48, 59.93, 136.70°)
OKLaboklab(53.28% -0.1189 0.0938)
OKLCHoklch(53.28% 0.152 141.7)
XYZxyz(9.2504, 16.3849, 4.3438)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8124 #782481
analogous
#5B8124 #2D8124 #24814A
triadic
#2D8124 #242D81 #81242D
tetradic
#2D8124 #245B81 #782481 #814A24
square
#2D8124 #245B81 #782481 #814A24
split-complementary
#2D8124 #4A2481 #81245B
monochromatic
#0C2109 #1C5117 #2D8124 #3EB131 #5DCE51

Accessibility & contrast

On white

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

On black

4.28
#2D8124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D8124#FFFFFF#000000##FFFFFF
##2D81241.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d8124;
/* rgb */ color: rgb(45, 129, 36);
/* oklch */ color: oklch(53.3% 0.151 141.7);
Tailwind
colors: {
  custom: {
    50: '#71a664',
    500: '#2d8124',
    950: '#000000',
  },
}
SCSS
$custom: #2d8124;
$custom-light: #71a664;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8124",
  "rgb": {
    "r": 45,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 114.194,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53277,
    "c": 0.1515,
    "h": 141.7
  },
  "luminance": 0.16386
}

Semantic roles & 50–950 ramp

primary
#2D8124
secondary
#A94EB2
accent
#48E0D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2D8124

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

Preview Lab → · Contrast checker → · Palette generator →

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