#2D811F#2D811F

#2D811F is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.2% C 0.155 H 141.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2D811F
RGBrgb(45, 129, 31)
HSLhsl(111, 61%, 31%)
HSVhsv(111, 76%, 51%)
CMYKcmyk(65.1%, 0%, 76%, 49.4%)
CIE-LABlab(47.44, -44.04, 43.06)
CIE-LCHlch(47.44, 61.60, 135.65°)
OKLaboklab(53.24% -0.1204 0.0972)
OKLCHoklch(53.24% 0.155 141.1)
XYZxyz(9.1793, 16.3564, 3.9694)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D811F #731F81
analogous
#5E811F #2D811F #1F8142
triadic
#2D811F #1F2D81 #811F2D
tetradic
#2D811F #1F5E81 #731F81 #81421F
square
#2D811F #1F5E81 #731F81 #81421F
split-complementary
#2D811F #421F81 #811F5E
monochromatic
#0B1E07 #1C5013 #2D811F #3EB22B #5BD347

Accessibility & contrast

On white

4.92
#2D811F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2D811F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D811F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D811F#FFFFFF#000000##FFFFFF
##2D811F1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84750C
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#1F7D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d811f;
/* rgb */ color: rgb(45, 129, 31);
/* oklch */ color: oklch(53.2% 0.155 141.1);
Tailwind
colors: {
  custom: {
    50: '#72a662',
    500: '#2d811f',
    950: '#000000',
  },
}
SCSS
$custom: #2d811f;
$custom-light: #72a662;
$custom-dark: #000000;
JSON
{
  "hex": "#2d811f",
  "rgb": {
    "r": 45,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 111.429,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53235,
    "c": 0.15476,
    "h": 141.1
  },
  "luminance": 0.16357
}

Semantic roles & 50–950 ramp

primary
#2D811F
secondary
#A448B4
accent
#43E4CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #2D811F

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

Preview Lab → · Contrast checker → · Palette generator →

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