#2D8528#2D8528

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

Color values

HEX#2D8528
RGBrgb(45, 133, 40)
HSLhsl(117, 54%, 34%)
HSVhsv(117, 70%, 52%)
CMYKcmyk(66.2%, 0%, 69.9%, 47.8%)
CIE-LABlab(48.87, -44.72, 40.88)
CIE-LCHlch(48.87, 60.59, 137.57°)
OKLaboklab(54.44% -0.1217 0.0939)
OKLCHoklch(54.44% 0.154 142.4)
XYZxyz(9.8522, 17.4852, 4.8628)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8528 #802885
analogous
#5C8528 #2D8528 #288552
triadic
#2D8528 #282D85 #85282D
tetradic
#2D8528 #285C85 #802885 #855228
square
#2D8528 #285C85 #802885 #855228
split-complementary
#2D8528 #522885 #85285C
monochromatic
#0D270C #1D561A #2D8528 #3DB436 #60CD5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8528#FFFFFF#000000##FFFFFF
##2D85281.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)
#88791B
Deuteranopia (green-blind)
#7D7131
Tritanopia (blue-blind)
#1B8172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d8528;
/* rgb */ color: rgb(45, 133, 40);
/* oklch */ color: oklch(54.4% 0.154 142.4);
Tailwind
colors: {
  custom: {
    50: '#72a967',
    500: '#2d8528',
    950: '#000000',
  },
}
SCSS
$custom: #2d8528;
$custom-light: #72a967;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8528",
  "rgb": {
    "r": 45,
    "g": 133,
    "b": 40
  },
  "hsl": {
    "h": 116.774,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54438,
    "c": 0.15372,
    "h": 142.4
  },
  "luminance": 0.17486
}

Semantic roles & 50–950 ramp

primary
#2D8528
secondary
#AE56B3
accent
#4BDDD5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8528

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

Preview Lab → · Contrast checker → · Palette generator →

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