#2D8520#2D8520

#2D8520 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.4% C 0.159 H 141.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2D8520
RGBrgb(45, 133, 32)
HSLhsl(112, 61%, 32%)
HSVhsv(112, 76%, 52%)
CMYKcmyk(66.2%, 0%, 75.9%, 47.8%)
CIE-LABlab(48.81, -45.43, 44.06)
CIE-LCHlch(48.81, 63.29, 135.88°)
OKLaboklab(54.37% -0.1241 0.0995)
OKLCHoklch(54.37% 0.159 141.3)
XYZxyz(9.7299, 17.4363, 4.2190)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8520 #782085
analogous
#608520 #2D8520 #208545
triadic
#2D8520 #202D85 #85202D
tetradic
#2D8520 #206085 #782085 #854520
square
#2D8520 #206085 #782085 #854520
split-complementary
#2D8520 #452085 #852060
monochromatic
#0C2208 #1C5414 #2D8520 #3EB62C #5DD44C

Accessibility & contrast

On white

4.68
#2D8520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2D8520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8520
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8520#FFFFFF#000000##FFFFFF
##2D85201.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780C
Deuteranopia (green-blind)
#7E712B
Tritanopia (blue-blind)
#1D8171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d8520;
/* rgb */ color: rgb(45, 133, 32);
/* oklch */ color: oklch(54.4% 0.159 141.3);
Tailwind
colors: {
  custom: {
    50: '#72a963',
    500: '#2d8520',
    950: '#000000',
  },
}
SCSS
$custom: #2d8520;
$custom-light: #72a963;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8520",
  "rgb": {
    "r": 45,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 112.277,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54369,
    "c": 0.15905,
    "h": 141.3
  },
  "luminance": 0.17437
}

Semantic roles & 50–950 ramp

primary
#2D8520
secondary
#A94AB7
accent
#43E4D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2D8520

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

Preview Lab → · Contrast checker → · Palette generator →

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