#2D841E#2D841E

#2D841E is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.1% C 0.159 H 141.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2D841E
RGBrgb(45, 132, 30)
HSLhsl(111, 63%, 32%)
HSVhsv(111, 77%, 52%)
CMYKcmyk(65.9%, 0%, 77.3%, 48.2%)
CIE-LABlab(48.45, -45.22, 44.45)
CIE-LCHlch(48.45, 63.41, 135.50°)
OKLaboklab(54.07% -0.1236 0.1)
OKLCHoklch(54.07% 0.159 141)
XYZxyz(9.5673, 17.1532, 4.0348)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D841E #751E84
analogous
#60841E #2D841E #1E8442
triadic
#2D841E #1E2D84 #841E2D
tetradic
#2D841E #1E6084 #751E84 #84421E
square
#2D841E #1E6084 #751E84 #84421E
split-complementary
#2D841E #421E84 #841E60
monochromatic
#0B2007 #1C5213 #2D841E #3EB629 #5CD547

Accessibility & contrast

On white

4.74
#2D841E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2D841E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D841E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D841E#FFFFFF#000000##FFFFFF
##2D841E1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877708
Deuteranopia (green-blind)
#7D7029
Tritanopia (blue-blind)
#1E8071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2d841e;
/* rgb */ color: rgb(45, 132, 30);
/* oklch */ color: oklch(54.1% 0.159 141.0);
Tailwind
colors: {
  custom: {
    50: '#72a962',
    500: '#2d841e',
    950: '#000000',
  },
}
SCSS
$custom: #2d841e;
$custom-light: #72a962;
$custom-dark: #000000;
JSON
{
  "hex": "#2d841e",
  "rgb": {
    "r": 45,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 111.176,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54072,
    "c": 0.15902,
    "h": 141
  },
  "luminance": 0.17154
}

Semantic roles & 50–950 ramp

primary
#2D841E
secondary
#A647B7
accent
#42E6CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2D841E

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

Preview Lab → · Contrast checker → · Palette generator →

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