#2D8521#2D8521

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

Color values

HEX#2D8521
RGBrgb(45, 133, 33)
HSLhsl(113, 60%, 33%)
HSVhsv(113, 75%, 52%)
CMYKcmyk(66.2%, 0%, 75.2%, 47.8%)
CIE-LABlab(48.81, -45.35, 43.68)
CIE-LCHlch(48.81, 62.97, 136.08°)
OKLaboklab(54.38% -0.1238 0.0988)
OKLCHoklch(54.38% 0.158 141.4)
XYZxyz(9.7437, 17.4418, 4.2917)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8521 #792185
analogous
#5F8521 #2D8521 #218547
triadic
#2D8521 #212D85 #85212D
tetradic
#2D8521 #215F85 #792185 #854721
square
#2D8521 #215F85 #792185 #854721
split-complementary
#2D8521 #472185 #85215F
monochromatic
#0C2309 #1C5415 #2D8521 #3EB62D #5DD34D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8521#FFFFFF#000000##FFFFFF
##2D85211.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)
#88780F
Deuteranopia (green-blind)
#7E712B
Tritanopia (blue-blind)
#1D8172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d8521;
/* rgb */ color: rgb(45, 133, 33);
/* oklch */ color: oklch(54.4% 0.158 141.4);
Tailwind
colors: {
  custom: {
    50: '#72a963',
    500: '#2d8521',
    950: '#000000',
  },
}
SCSS
$custom: #2d8521;
$custom-light: #72a963;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8521",
  "rgb": {
    "r": 45,
    "g": 133,
    "b": 33
  },
  "hsl": {
    "h": 112.8,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54376,
    "c": 0.15843,
    "h": 141.4
  },
  "luminance": 0.17443
}

Semantic roles & 50–950 ramp

primary
#2D8521
secondary
#A94CB6
accent
#44E3D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8521

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

Preview Lab → · Contrast checker → · Palette generator →

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