#2A861C#2A861C

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

Color values

HEX#2A861C
RGBrgb(42, 134, 28)
HSLhsl(112, 65%, 32%)
HSVhsv(112, 79%, 53%)
CMYKcmyk(68.7%, 0%, 79.1%, 47.5%)
CIE-LABlab(49.04, -46.77, 45.71)
CIE-LCHlch(49.04, 65.39, 135.66°)
OKLaboklab(54.53% -0.1277 0.1024)
OKLCHoklch(54.53% 0.164 141.3)
XYZxyz(9.6890, 17.6253, 3.9898)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A861C #781C86
analogous
#5F861C #2A861C #1C8643
triadic
#2A861C #1C2A86 #861C2A
tetradic
#2A861C #1C5F86 #781C86 #86431C
square
#2A861C #1C5F86 #781C86 #86431C
split-complementary
#2A861C #431C86 #861C5F
monochromatic
#0A2107 #1A5311 #2A861C #3AB927 #58D844

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A861C#FFFFFF#000000##FFFFFF
##2A861C1.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)
#897902
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#178272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a861c;
/* rgb */ color: rgb(42, 134, 28);
/* oklch */ color: oklch(54.5% 0.164 141.3);
Tailwind
colors: {
  custom: {
    50: '#72aa61',
    500: '#2a861c',
    950: '#000000',
  },
}
SCSS
$custom: #2a861c;
$custom-light: #72aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#2a861c",
  "rgb": {
    "r": 42,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 112.075,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54531,
    "c": 0.16369,
    "h": 141.3
  },
  "luminance": 0.17626
}

Semantic roles & 50–950 ramp

primary
#2A861C
secondary
#AA45B9
accent
#3FE8D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2A861C

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

Preview Lab → · Contrast checker → · Palette generator →

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