#2D881B#2D881B

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

Color values

HEX#2D881B
RGBrgb(45, 136, 27)
HSLhsl(110, 67%, 32%)
HSVhsv(110, 80%, 53%)
CMYKcmyk(66.9%, 0%, 80.1%, 46.7%)
CIE-LABlab(49.79, -46.88, 46.80)
CIE-LCHlch(49.79, 66.24, 135.05°)
OKLaboklab(55.18% -0.1283 0.1045)
OKLCHoklch(55.18% 0.165 140.8)
XYZxyz(10.0837, 18.2443, 4.0268)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D881B #761B88
analogous
#64881B #2D881B #1B8840
triadic
#2D881B #1B2D88 #881B2D
tetradic
#2D881B #1B6488 #761B88 #88401B
square
#2D881B #1B6488 #761B88 #88401B
split-complementary
#2D881B #401B88 #881B64
monochromatic
#0B2207 #1C5511 #2D881B #3EBB25 #5CDA44

Accessibility & contrast

On white

4.52
#2D881B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D881B#FFFFFF#000000##000000
##2D881B1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#1D8374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d881b;
/* rgb */ color: rgb(45, 136, 27);
/* oklch */ color: oklch(55.2% 0.165 140.8);
Tailwind
colors: {
  custom: {
    50: '#73ac61',
    500: '#2d881b',
    950: '#000000',
  },
}
SCSS
$custom: #2d881b;
$custom-light: #73ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#2d881b",
  "rgb": {
    "r": 45,
    "g": 136,
    "b": 27
  },
  "hsl": {
    "h": 110.092,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55175,
    "c": 0.16544,
    "h": 140.8
  },
  "luminance": 0.18245
}

Semantic roles & 50–950 ramp

primary
#2D881B
secondary
#A744BB
accent
#3EEACD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2D881B

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

Preview Lab → · Contrast checker → · Palette generator →

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