#2A861E#2A861E

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

Color values

HEX#2A861E
RGBrgb(42, 134, 30)
HSLhsl(113, 63%, 32%)
HSVhsv(113, 78%, 53%)
CMYKcmyk(68.7%, 0%, 77.6%, 47.5%)
CIE-LABlab(49.05, -46.62, 45.01)
CIE-LCHlch(49.05, 64.80, 136.01°)
OKLaboklab(54.55% -0.1272 0.1012)
OKLCHoklch(54.55% 0.163 141.5)
XYZxyz(9.7138, 17.6352, 4.1201)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A861E #7A1E86
analogous
#5E861E #2A861E #1E8646
triadic
#2A861E #1E2A86 #861E2A
tetradic
#2A861E #1E5E86 #7A1E86 #86461E
square
#2A861E #1E5E86 #7A1E86 #86461E
split-complementary
#2A861E #461E86 #861E5E
monochromatic
#0B2208 #1A5413 #2A861E #3AB829 #59D648

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A861E#FFFFFF#000000##FFFFFF
##2A861E1.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)
#897907
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#178272
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a861e;
/* rgb */ color: rgb(42, 134, 30);
/* oklch */ color: oklch(54.5% 0.163 141.5);
Tailwind
colors: {
  custom: {
    50: '#71aa62',
    500: '#2a861e',
    950: '#000000',
  },
}
SCSS
$custom: #2a861e;
$custom-light: #71aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#2a861e",
  "rgb": {
    "r": 42,
    "g": 134,
    "b": 30
  },
  "hsl": {
    "h": 113.077,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54545,
    "c": 0.16258,
    "h": 141.5
  },
  "luminance": 0.17636
}

Semantic roles & 50–950 ramp

primary
#2A861E
secondary
#AB47B8
accent
#41E6D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2A861E

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

Preview Lab → · Contrast checker → · Palette generator →

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