#2D811A#2D811A

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

Color values

HEX#2D811A
RGBrgb(45, 129, 26)
HSLhsl(109, 66%, 30%)
HSVhsv(109, 80%, 51%)
CMYKcmyk(65.1%, 0%, 79.8%, 49.4%)
CIE-LABlab(47.41, -44.41, 44.84)
CIE-LCHlch(47.41, 63.11, 134.73°)
OKLaboklab(53.2% -0.1217 0.1002)
OKLCHoklch(53.2% 0.158 140.5)
XYZxyz(9.1185, 16.3321, 3.6490)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D811A #6E1A81
analogous
#60811A #2D811A #1A813A
triadic
#2D811A #1A2D81 #811A2D
tetradic
#2D811A #1A6081 #6E1A81 #813A1A
square
#2D811A #1A6081 #6E1A81 #813A1A
split-complementary
#2D811A #3A1A81 #811A60
monochromatic
#091B05 #1B4E10 #2D811A #3FB424 #5AD83D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D811A#FFFFFF#000000##FFFFFF
##2D811A1.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)
#857501
Deuteranopia (green-blind)
#7A6E26
Tritanopia (blue-blind)
#207D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d811a;
/* rgb */ color: rgb(45, 129, 26);
/* oklch */ color: oklch(53.2% 0.158 140.5);
Tailwind
colors: {
  custom: {
    50: '#72a65f',
    500: '#2d811a',
    950: '#000000',
  },
}
SCSS
$custom: #2d811a;
$custom-light: #72a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d811a",
  "rgb": {
    "r": 45,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 108.932,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53199,
    "c": 0.15765,
    "h": 140.5
  },
  "luminance": 0.16333
}

Semantic roles & 50–950 ramp

primary
#2D811A
secondary
#A042B5
accent
#3EE9CA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2D811A

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

Preview Lab → · Contrast checker → · Palette generator →

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