#2D8721#2D8721

#2D8721 is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.9% C 0.161 H 141.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2D8721
RGBrgb(45, 135, 33)
HSLhsl(113, 61%, 33%)
HSVhsv(113, 76%, 53%)
CMYKcmyk(66.7%, 0%, 75.6%, 47.1%)
CIE-LABlab(49.49, -46.08, 44.37)
CIE-LCHlch(49.49, 63.97, 136.09°)
OKLaboklab(54.94% -0.1258 0.1003)
OKLCHoklch(54.94% 0.161 141.4)
XYZxyz(10.0201, 17.9946, 4.3838)
Luminance0.1800 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8721 #7B2187
analogous
#608721 #2D8721 #218748
triadic
#2D8721 #212D87 #87212D
tetradic
#2D8721 #216087 #7B2187 #874821
square
#2D8721 #216087 #7B2187 #874821
split-complementary
#2D8721 #482187 #872160
monochromatic
#0C2509 #1D5615 #2D8721 #3DB82D #5ED44F

Accessibility & contrast

On white

4.57
#2D8721 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#2D8721 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8721
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8721#FFFFFF#000000##000000
##2D87211.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0E
Deuteranopia (green-blind)
#80732C
Tritanopia (blue-blind)
#1C8373
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d8721;
/* rgb */ color: rgb(45, 135, 33);
/* oklch */ color: oklch(54.9% 0.161 141.4);
Tailwind
colors: {
  custom: {
    50: '#73ab63',
    500: '#2d8721',
    950: '#000000',
  },
}
SCSS
$custom: #2d8721;
$custom-light: #73ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8721",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 33
  },
  "hsl": {
    "h": 112.941,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54937,
    "c": 0.16086,
    "h": 141.4
  },
  "luminance": 0.17996
}

Semantic roles & 50–950 ramp

primary
#2D8721
secondary
#AB4DB7
accent
#44E4D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8721

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

Preview Lab → · Contrast checker → · Palette generator →

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