#2A882B#2A882B

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

Color values

HEX#2A882B
RGBrgb(42, 136, 43)
HSLhsl(121, 53%, 35%)
HSVhsv(121, 69%, 53%)
CMYKcmyk(69.1%, 0%, 68.4%, 46.7%)
CIE-LABlab(49.83, -46.17, 40.58)
CIE-LCHlch(49.83, 61.47, 138.69°)
OKLaboklab(55.22% -0.1253 0.0937)
OKLCHoklch(55.22% 0.156 143.2)
XYZxyz(10.1944, 18.2739, 5.2750)
Luminance0.1827 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A882B #882A87
analogous
#58882A #2A882B #2A885A
triadic
#2A882B #2B2A88 #882B2A
tetradic
#2A882B #2A5888 #882A87 #885A2A
square
#2A882B #2A5888 #882A87 #885A2A
split-complementary
#2A882B #5A2A88 #882A58
monochromatic
#0D2A0D #1C591C #2A882B #38B73A #5FCE60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A882B#FFFFFF#000000##000000
##2A882B1.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)
#8B7B1F
Deuteranopia (green-blind)
#807433
Tritanopia (blue-blind)
#128475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a882b;
/* rgb */ color: rgb(42, 136, 43);
/* oklch */ color: oklch(55.2% 0.156 143.2);
Tailwind
colors: {
  custom: {
    50: '#71ac69',
    500: '#2a882b',
    950: '#000000',
  },
}
SCSS
$custom: #2a882b;
$custom-light: #71ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#2a882b",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 43
  },
  "hsl": {
    "h": 120.638,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55219,
    "c": 0.15645,
    "h": 143.2
  },
  "luminance": 0.18275
}

Semantic roles & 50–950 ramp

primary
#2A882B
secondary
#B35BB2
accent
#4CDBDC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A882B

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

Preview Lab → · Contrast checker → · Palette generator →

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