#2A882C#2A882C

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

Color values

HEX#2A882C
RGBrgb(42, 136, 44)
HSLhsl(121, 53%, 35%)
HSVhsv(121, 69%, 53%)
CMYKcmyk(69.1%, 0%, 67.6%, 46.7%)
CIE-LABlab(49.84, -46.07, 40.15)
CIE-LCHlch(49.84, 61.11, 138.92°)
OKLaboklab(55.23% -0.125 0.0929)
OKLCHoklch(55.23% 0.156 143.4)
XYZxyz(10.2130, 18.2813, 5.3728)
Luminance0.1828 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A882C #882A86
analogous
#57882A #2A882C #2A885B
triadic
#2A882C #2C2A88 #882C2A
tetradic
#2A882C #2A5788 #882A86 #885B2A
square
#2A882C #2A5788 #882A86 #885B2A
split-complementary
#2A882C #5B2A88 #882A57
monochromatic
#0D2A0E #1C591D #2A882C #38B73B #5FCE61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A882C#FFFFFF#000000##000000
##2A882C1.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)
#8B7B20
Deuteranopia (green-blind)
#807434
Tritanopia (blue-blind)
#118475
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a882c;
/* rgb */ color: rgb(42, 136, 44);
/* oklch */ color: oklch(55.2% 0.156 143.4);
Tailwind
colors: {
  custom: {
    50: '#71ac6a',
    500: '#2a882c',
    950: '#000000',
  },
}
SCSS
$custom: #2a882c;
$custom-light: #71ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a882c",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 44
  },
  "hsl": {
    "h": 121.277,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55229,
    "c": 0.1557,
    "h": 143.4
  },
  "luminance": 0.18282
}

Semantic roles & 50–950 ramp

primary
#2A882C
secondary
#B35BB1
accent
#4CD9DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2A882C

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

Preview Lab → · Contrast checker → · Palette generator →

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