#2D891F#2D891F

#2D891F is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.5% C 0.164 H 141.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2D891F
RGBrgb(45, 137, 31)
HSLhsl(112, 63%, 33%)
HSVhsv(112, 77%, 54%)
CMYKcmyk(67.2%, 0%, 77.4%, 46.3%)
CIE-LABlab(50.15, -46.96, 45.77)
CIE-LCHlch(50.15, 65.57, 135.74°)
OKLaboklab(55.48% -0.1283 0.1029)
OKLCHoklch(55.48% 0.164 141.3)
XYZxyz(10.2746, 18.5471, 4.3345)
Luminance0.1855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D891F #7B1F89
analogous
#62891F #2D891F #1F8946
triadic
#2D891F #1F2D89 #891F2D
tetradic
#2D891F #1F6289 #7B1F89 #89461F
square
#2D891F #1F6289 #7B1F89 #89461F
split-complementary
#2D891F #461F89 #891F62
monochromatic
#0C2508 #1D5714 #2D891F #3DBB2A #5ED64C

Accessibility & contrast

On white

4.46
#2D891F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2D891F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D891F
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D891F#FFFFFF#000000##000000
##2D891F1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C07
Deuteranopia (green-blind)
#82742B
Tritanopia (blue-blind)
#1C8575
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d891f;
/* rgb */ color: rgb(45, 137, 31);
/* oklch */ color: oklch(55.5% 0.164 141.3);
Tailwind
colors: {
  custom: {
    50: '#73ac63',
    500: '#2d891f',
    950: '#000000',
  },
}
SCSS
$custom: #2d891f;
$custom-light: #73ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#2d891f",
  "rgb": {
    "r": 45,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 112.075,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55483,
    "c": 0.16444,
    "h": 141.3
  },
  "luminance": 0.18548
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D891F

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

Preview Lab → · Contrast checker → · Palette generator →

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