#2A861A#2A861A

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

Color values

HEX#2A861A
RGBrgb(42, 134, 26)
HSLhsl(111, 68%, 31%)
HSVhsv(111, 81%, 53%)
CMYKcmyk(68.7%, 0%, 80.6%, 47.5%)
CIE-LABlab(49.03, -46.90, 46.37)
CIE-LCHlch(49.03, 65.96, 135.33°)
OKLaboklab(54.52% -0.1282 0.1035)
OKLCHoklch(54.52% 0.165 141.1)
XYZxyz(9.6659, 17.6160, 3.8679)
Luminance0.1762 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A861A #761A86
analogous
#60861A #2A861A #1A8640
triadic
#2A861A #1A2A86 #861A2A
tetradic
#2A861A #1A6086 #761A86 #86401A
square
#2A861A #1A6086 #761A86 #86401A
split-complementary
#2A861A #401A86 #861A60
monochromatic
#0A1F06 #1A5310 #2A861A #3AB924 #57DA40

Accessibility & contrast

On white

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

On black

4.52
#2A861A on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A861A#FFFFFF#000000##FFFFFF
##2A861A1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#188272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a861a;
/* rgb */ color: rgb(42, 134, 26);
/* oklch */ color: oklch(54.5% 0.165 141.1);
Tailwind
colors: {
  custom: {
    50: '#72aa60',
    500: '#2a861a',
    950: '#000000',
  },
}
SCSS
$custom: #2a861a;
$custom-light: #72aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#2a861a",
  "rgb": {
    "r": 42,
    "g": 134,
    "b": 26
  },
  "hsl": {
    "h": 111.111,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54518,
    "c": 0.16474,
    "h": 141.1
  },
  "luminance": 0.17617
}

Semantic roles & 50–950 ramp

primary
#2A861A
secondary
#A842B9
accent
#3DEAD1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2A861A

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

Preview Lab → · Contrast checker → · Palette generator →

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