#2A811D#2A811D

#2A811D is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.157 H 141.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2A811D
RGBrgb(42, 129, 29)
HSLhsl(112, 63%, 31%)
HSVhsv(112, 78%, 51%)
CMYKcmyk(67.4%, 0%, 77.5%, 49.4%)
CIE-LABlab(47.34, -44.90, 43.68)
CIE-LCHlch(47.34, 62.64, 135.79°)
OKLaboklab(53.13% -0.1226 0.0983)
OKLCHoklch(53.13% 0.157 141.3)
XYZxyz(9.0264, 16.2806, 3.8289)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A811D #741D81
analogous
#5C811D #2A811D #1D8142
triadic
#2A811D #1D2A81 #811D2A
tetradic
#2A811D #1D5C81 #741D81 #81421D
square
#2A811D #1D5C81 #741D81 #81421D
split-complementary
#2A811D #421D81 #811D5C
monochromatic
#091D07 #1A4F12 #2A811D #3AB328 #56D544

Accessibility & contrast

On white

4.93
#2A811D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2A811D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A811D
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A811D#FFFFFF#000000##FFFFFF
##2A811D1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847507
Deuteranopia (green-blind)
#7A6E28
Tritanopia (blue-blind)
#1A7D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a811d;
/* rgb */ color: rgb(42, 129, 29);
/* oklch */ color: oklch(53.1% 0.157 141.3);
Tailwind
colors: {
  custom: {
    50: '#70a661',
    500: '#2a811d',
    950: '#000000',
  },
}
SCSS
$custom: #2a811d;
$custom-light: #70a661;
$custom-dark: #000000;
JSON
{
  "hex": "#2a811d",
  "rgb": {
    "r": 42,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 112.2,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53126,
    "c": 0.15716,
    "h": 141.3
  },
  "luminance": 0.16281
}

Semantic roles & 50–950 ramp

primary
#2A811D
secondary
#A646B4
accent
#41E6D1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2A811D

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

Preview Lab → · Contrast checker → · Palette generator →

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