#2A882D#2A882D

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

Color values

HEX#2A882D
RGBrgb(42, 136, 45)
HSLhsl(122, 53%, 35%)
HSVhsv(122, 69%, 53%)
CMYKcmyk(69.1%, 0%, 66.9%, 46.7%)
CIE-LABlab(49.84, -45.96, 39.71)
CIE-LCHlch(49.84, 60.74, 139.17°)
OKLaboklab(55.24% -0.1246 0.092)
OKLCHoklch(55.24% 0.155 143.6)
XYZxyz(10.2320, 18.2889, 5.4730)
Luminance0.1829 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A882D #882A85
analogous
#56882A #2A882D #2A885C
triadic
#2A882D #2D2A88 #882D2A
tetradic
#2A882D #2A5688 #882A85 #885C2A
square
#2A882D #2A5688 #882A85 #885C2A
split-complementary
#2A882D #5C2A88 #882A56
monochromatic
#0D2A0E #1C591E #2A882D #38B73C #5FCE62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A882D#FFFFFF#000000##000000
##2A882D1.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)
#8B7B22
Deuteranopia (green-blind)
#807435
Tritanopia (blue-blind)
#118475
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a882d;
/* rgb */ color: rgb(42, 136, 45);
/* oklch */ color: oklch(55.2% 0.155 143.6);
Tailwind
colors: {
  custom: {
    50: '#71ac6a',
    500: '#2a882d',
    950: '#000000',
  },
}
SCSS
$custom: #2a882d;
$custom-light: #71ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a882d",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 45
  },
  "hsl": {
    "h": 121.915,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5524,
    "c": 0.15494,
    "h": 143.6
  },
  "luminance": 0.1829
}

Semantic roles & 50–950 ramp

primary
#2A882D
secondary
#B35BB0
accent
#4CD8DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2A882D

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

Preview Lab → · Contrast checker → · Palette generator →

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