#2A882F#2A882F

#2A882F is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.153 H 143.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2A882F
RGBrgb(42, 136, 47)
HSLhsl(123, 53%, 35%)
HSVhsv(123, 69%, 53%)
CMYKcmyk(69.1%, 0%, 65.4%, 46.7%)
CIE-LABlab(49.86, -45.74, 38.83)
CIE-LCHlch(49.86, 59.99, 139.67°)
OKLaboklab(55.26% -0.1239 0.0904)
OKLCHoklch(55.26% 0.153 143.9)
XYZxyz(10.2715, 18.3047, 5.6806)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A882F #882A83
analogous
#54882A #2A882F #2A885E
triadic
#2A882F #2F2A88 #882F2A
tetradic
#2A882F #2A5488 #882A83 #885E2A
square
#2A882F #2A5488 #882A83 #885E2A
split-complementary
#2A882F #5E2A88 #882A54
monochromatic
#0D2A0F #1C591F #2A882F #38B73F #5FCE65

Accessibility & contrast

On white

4.51
#2A882F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2A882F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A882F
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A882F#FFFFFF#000000##000000
##2A882F1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B24
Deuteranopia (green-blind)
#7F7437
Tritanopia (blue-blind)
#108475
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a882f;
/* rgb */ color: rgb(42, 136, 47);
/* oklch */ color: oklch(55.3% 0.153 143.9);
Tailwind
colors: {
  custom: {
    50: '#71ac6b',
    500: '#2a882f',
    950: '#000000',
  },
}
SCSS
$custom: #2a882f;
$custom-light: #71ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a882f",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 47
  },
  "hsl": {
    "h": 123.191,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55262,
    "c": 0.15339,
    "h": 143.9
  },
  "luminance": 0.18306
}

Semantic roles & 50–950 ramp

primary
#2A882F
secondary
#B35BAF
accent
#4CD5DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2A882F

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

Preview Lab → · Contrast checker → · Palette generator →

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