#2D8529#2D8529

#2D8529 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.153 H 142.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2D8529
RGBrgb(45, 133, 41)
HSLhsl(117, 53%, 34%)
HSVhsv(117, 69%, 52%)
CMYKcmyk(66.2%, 0%, 69.2%, 47.8%)
CIE-LABlab(48.87, -44.62, 40.45)
CIE-LCHlch(48.87, 60.23, 137.80°)
OKLaboklab(54.45% -0.1214 0.0931)
OKLCHoklch(54.45% 0.153 142.5)
XYZxyz(9.8694, 17.4921, 4.9536)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8529 #812985
analogous
#5B8529 #2D8529 #298553
triadic
#2D8529 #292D85 #85292D
tetradic
#2D8529 #295B85 #812985 #855329
square
#2D8529 #295B85 #812985 #855329
split-complementary
#2D8529 #532985 #85295B
monochromatic
#0D270C #1D561B #2D8529 #3DB437 #61CD5C

Accessibility & contrast

On white

4.67
#2D8529 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#2D8529 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8529
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8529#FFFFFF#000000##FFFFFF
##2D85291.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88791C
Deuteranopia (green-blind)
#7D7131
Tritanopia (blue-blind)
#1B8172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d8529;
/* rgb */ color: rgb(45, 133, 41);
/* oklch */ color: oklch(54.4% 0.153 142.5);
Tailwind
colors: {
  custom: {
    50: '#72a968',
    500: '#2d8529',
    950: '#000000',
  },
}
SCSS
$custom: #2d8529;
$custom-light: #72a968;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8529",
  "rgb": {
    "r": 45,
    "g": 133,
    "b": 41
  },
  "hsl": {
    "h": 117.391,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54448,
    "c": 0.15299,
    "h": 142.5
  },
  "luminance": 0.17493
}

Semantic roles & 50–950 ramp

primary
#2D8529
secondary
#AE58B2
accent
#4CDCD6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8529

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

Preview Lab → · Contrast checker → · Palette generator →

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