#2D881F#2D881F

#2D881F is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.2% C 0.163 H 141.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2D881F
RGBrgb(45, 136, 31)
HSLhsl(112, 63%, 33%)
HSVhsv(112, 77%, 53%)
CMYKcmyk(66.9%, 0%, 77.2%, 46.7%)
CIE-LABlab(49.81, -46.60, 45.43)
CIE-LCHlch(49.81, 65.08, 135.73°)
OKLaboklab(55.2% -0.1273 0.1022)
OKLCHoklch(55.2% 0.163 141.2)
XYZxyz(10.1331, 18.2641, 4.2874)
Luminance0.1827 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D881F #7A1F88
analogous
#61881F #2D881F #1F8845
triadic
#2D881F #1F2D88 #881F2D
tetradic
#2D881F #1F6188 #7A1F88 #88451F
square
#2D881F #1F6188 #7A1F88 #88451F
split-complementary
#2D881F #451F88 #881F61
monochromatic
#0C2408 #1D5614 #2D881F #3DBA2A #5ED64B

Accessibility & contrast

On white

4.51
#2D881F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#2D881F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D881F
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D881F#FFFFFF#000000##000000
##2D881F1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B08
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#1C8474
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d881f;
/* rgb */ color: rgb(45, 136, 31);
/* oklch */ color: oklch(55.2% 0.163 141.2);
Tailwind
colors: {
  custom: {
    50: '#73ac63',
    500: '#2d881f',
    950: '#000000',
  },
}
SCSS
$custom: #2d881f;
$custom-light: #73ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#2d881f",
  "rgb": {
    "r": 45,
    "g": 136,
    "b": 31
  },
  "hsl": {
    "h": 112,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55203,
    "c": 0.16325,
    "h": 141.2
  },
  "luminance": 0.18265
}

Semantic roles & 50–950 ramp

primary
#2D881F
secondary
#AA4AB9
accent
#42E6D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D881F

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

Preview Lab → · Contrast checker → · Palette generator →

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