#2A861B#2A861B

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

Color values

HEX#2A861B
RGBrgb(42, 134, 27)
HSLhsl(112, 66%, 32%)
HSVhsv(112, 80%, 53%)
CMYKcmyk(68.7%, 0%, 79.9%, 47.5%)
CIE-LABlab(49.03, -46.84, 46.04)
CIE-LCHlch(49.03, 65.68, 135.49°)
OKLaboklab(54.52% -0.128 0.1029)
OKLCHoklch(54.52% 0.164 141.2)
XYZxyz(9.6773, 17.6206, 3.9278)
Luminance0.1762 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A861B #771B86
analogous
#60861B #2A861B #1B8642
triadic
#2A861B #1B2A86 #861B2A
tetradic
#2A861B #1B6086 #771B86 #86421B
square
#2A861B #1B6086 #771B86 #86421B
split-complementary
#2A861B #421B86 #861B60
monochromatic
#0A2006 #1A5311 #2A861B #3AB925 #58D942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A861B#FFFFFF#000000##FFFFFF
##2A861B1.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)
#178272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a861b;
/* rgb */ color: rgb(42, 134, 27);
/* oklch */ color: oklch(54.5% 0.164 141.2);
Tailwind
colors: {
  custom: {
    50: '#72aa60',
    500: '#2a861b',
    950: '#000000',
  },
}
SCSS
$custom: #2a861b;
$custom-light: #72aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#2a861b",
  "rgb": {
    "r": 42,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 111.589,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54524,
    "c": 0.16422,
    "h": 141.2
  },
  "luminance": 0.17622
}

Semantic roles & 50–950 ramp

primary
#2A861B
secondary
#A944B9
accent
#3EE9D1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2A861B

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

Preview Lab → · Contrast checker → · Palette generator →

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