#2D8527#2D8527

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

Color values

HEX#2D8527
RGBrgb(45, 133, 39)
HSLhsl(116, 55%, 34%)
HSVhsv(116, 71%, 52%)
CMYKcmyk(66.2%, 0%, 70.7%, 47.8%)
CIE-LABlab(48.86, -44.82, 41.30)
CIE-LCHlch(48.86, 60.94, 137.34°)
OKLaboklab(54.43% -0.122 0.0946)
OKLCHoklch(54.43% 0.154 142.2)
XYZxyz(9.8354, 17.4784, 4.7744)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8527 #7F2785
analogous
#5C8527 #2D8527 #278550
triadic
#2D8527 #272D85 #85272D
tetradic
#2D8527 #275C85 #7F2785 #855027
square
#2D8527 #275C85 #7F2785 #855027
split-complementary
#2D8527 #502785 #85275C
monochromatic
#0D260B #1D5619 #2D8527 #3DB435 #60CE58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8527#FFFFFF#000000##FFFFFF
##2D85271.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)
#887819
Deuteranopia (green-blind)
#7E7130
Tritanopia (blue-blind)
#1C8172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d8527;
/* rgb */ color: rgb(45, 133, 39);
/* oklch */ color: oklch(54.4% 0.154 142.2);
Tailwind
colors: {
  custom: {
    50: '#72a966',
    500: '#2d8527',
    950: '#000000',
  },
}
SCSS
$custom: #2d8527;
$custom-light: #72a966;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8527",
  "rgb": {
    "r": 45,
    "g": 133,
    "b": 39
  },
  "hsl": {
    "h": 116.17,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54428,
    "c": 0.15443,
    "h": 142.2
  },
  "luminance": 0.17479
}

Semantic roles & 50–950 ramp

primary
#2D8527
secondary
#AD55B3
accent
#4ADED5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8527

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

Preview Lab → · Contrast checker → · Palette generator →

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