#2D8129#2D8129

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

Color values

HEX#2D8129
RGBrgb(45, 129, 41)
HSLhsl(117, 52%, 33%)
HSVhsv(117, 68%, 51%)
CMYKcmyk(65.1%, 0%, 68.2%, 49.4%)
CIE-LABlab(47.52, -43.12, 38.99)
CIE-LCHlch(47.52, 58.13, 137.88°)
OKLaboklab(53.33% -0.1173 0.09)
OKLCHoklch(53.33% 0.148 142.5)
XYZxyz(9.3322, 16.4176, 4.7745)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8129 #7D2981
analogous
#598129 #2D8129 #298151
triadic
#2D8129 #292D81 #81292D
tetradic
#2D8129 #295981 #7D2981 #815129
square
#2D8129 #295981 #7D2981 #815129
split-complementary
#2D8129 #512981 #812959
monochromatic
#0D240B #1D531A #2D8129 #3DAF38 #5FCB5A

Accessibility & contrast

On white

4.90
#2D8129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D8129
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8129#FFFFFF#000000##FFFFFF
##2D81291.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751E
Deuteranopia (green-blind)
#7A6E31
Tritanopia (blue-blind)
#1D7D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d8129;
/* rgb */ color: rgb(45, 129, 41);
/* oklch */ color: oklch(53.3% 0.148 142.5);
Tailwind
colors: {
  custom: {
    50: '#71a667',
    500: '#2d8129',
    950: '#000000',
  },
}
SCSS
$custom: #2d8129;
$custom-light: #71a667;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8129",
  "rgb": {
    "r": 45,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 117.273,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53326,
    "c": 0.14788,
    "h": 142.5
  },
  "luminance": 0.16418
}

Semantic roles & 50–950 ramp

primary
#2D8129
secondary
#AC56B0
accent
#4DDBD5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D8129

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

Preview Lab → · Contrast checker → · Palette generator →

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