#2A861D#2A861D

#2A861D is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.5% C 0.163 H 141.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2A861D
RGBrgb(42, 134, 29)
HSLhsl(113, 64%, 32%)
HSVhsv(113, 78%, 53%)
CMYKcmyk(68.7%, 0%, 78.4%, 47.5%)
CIE-LABlab(49.04, -46.70, 45.36)
CIE-LCHlch(49.04, 65.10, 135.83°)
OKLaboklab(54.54% -0.1275 0.1018)
OKLCHoklch(54.54% 0.163 141.4)
XYZxyz(9.7012, 17.6301, 4.0539)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A861D #791D86
analogous
#5F861D #2A861D #1D8644
triadic
#2A861D #1D2A86 #861D2A
tetradic
#2A861D #1D5F86 #791D86 #86441D
square
#2A861D #1D5F86 #791D86 #86441D
split-complementary
#2A861D #441D86 #861D5F
monochromatic
#0A2107 #1A5412 #2A861D #3AB828 #58D746

Accessibility & contrast

On white

4.64
#2A861D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#2A861D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A861D
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A861D#FFFFFF#000000##FFFFFF
##2A861D1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897904
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#178272
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a861d;
/* rgb */ color: rgb(42, 134, 29);
/* oklch */ color: oklch(54.5% 0.163 141.4);
Tailwind
colors: {
  custom: {
    50: '#71aa61',
    500: '#2a861d',
    950: '#000000',
  },
}
SCSS
$custom: #2a861d;
$custom-light: #71aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#2a861d",
  "rgb": {
    "r": 42,
    "g": 134,
    "b": 29
  },
  "hsl": {
    "h": 112.571,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54538,
    "c": 0.16313,
    "h": 141.4
  },
  "luminance": 0.17631
}

Semantic roles & 50–950 ramp

primary
#2A861D
secondary
#AB46B9
accent
#40E7D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2A861D

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

Preview Lab → · Contrast checker → · Palette generator →

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