#2A881B#2A881B

#2A881B is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.1% C 0.167 H 141.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2A881B
RGBrgb(42, 136, 27)
HSLhsl(112, 67%, 32%)
HSVhsv(112, 80%, 53%)
CMYKcmyk(69.1%, 0%, 80.1%, 46.7%)
CIE-LABlab(49.71, -47.54, 46.70)
CIE-LCHlch(49.71, 66.64, 135.52°)
OKLaboklab(55.09% -0.1299 0.1043)
OKLCHoklch(55.09% 0.167 141.2)
XYZxyz(9.9563, 18.1787, 4.0208)
Luminance0.1818 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A881B #791B88
analogous
#61881B #2A881B #1B8843
triadic
#2A881B #1B2A88 #881B2A
tetradic
#2A881B #1B6188 #791B88 #88431B
square
#2A881B #1B6188 #791B88 #88431B
split-complementary
#2A881B #431B88 #881B61
monochromatic
#0A2207 #1A5511 #2A881B #3ABB25 #58DA44

Accessibility & contrast

On white

4.53
#2A881B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#2A881B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A881B
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A881B#FFFFFF#000000##000000
##2A881B1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#817328
Tritanopia (blue-blind)
#168474
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a881b;
/* rgb */ color: rgb(42, 136, 27);
/* oklch */ color: oklch(55.1% 0.167 141.2);
Tailwind
colors: {
  custom: {
    50: '#72ac61',
    500: '#2a881b',
    950: '#000000',
  },
}
SCSS
$custom: #2a881b;
$custom-light: #72ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#2a881b",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 27
  },
  "hsl": {
    "h": 111.743,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55087,
    "c": 0.16656,
    "h": 141.2
  },
  "luminance": 0.1818
}

Semantic roles & 50–950 ramp

primary
#2A881B
secondary
#AB44BB
accent
#3EEAD2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2A881B

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

Preview Lab → · Contrast checker → · Palette generator →

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