#2A8821#2A8821

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

Color values

HEX#2A8821
RGBrgb(42, 136, 33)
HSLhsl(115, 61%, 33%)
HSVhsv(115, 76%, 53%)
CMYKcmyk(69.1%, 0%, 75.7%, 46.7%)
CIE-LABlab(49.75, -47.10, 44.60)
CIE-LCHlch(49.75, 64.87, 136.56°)
OKLaboklab(55.13% -0.1284 0.1008)
OKLCHoklch(55.13% 0.163 141.9)
XYZxyz(10.0330, 18.2093, 4.4246)
Luminance0.1821 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8821 #7F2188
analogous
#5D8821 #2A8821 #21884B
triadic
#2A8821 #212A88 #88212A
tetradic
#2A8821 #215D88 #7F2188 #884B21
square
#2A8821 #215D88 #7F2188 #884B21
split-complementary
#2A8821 #4B2188 #88215D
monochromatic
#0C2509 #1B5715 #2A8821 #39B92D #5BD44F

Accessibility & contrast

On white

4.52
#2A8821 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8821#FFFFFF#000000##000000
##2A88211.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0D
Deuteranopia (green-blind)
#80732C
Tritanopia (blue-blind)
#158474
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a8821;
/* rgb */ color: rgb(42, 136, 33);
/* oklch */ color: oklch(55.1% 0.163 141.9);
Tailwind
colors: {
  custom: {
    50: '#72ac64',
    500: '#2a8821',
    950: '#000000',
  },
}
SCSS
$custom: #2a8821;
$custom-light: #72ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8821",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 33
  },
  "hsl": {
    "h": 114.757,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5513,
    "c": 0.1632,
    "h": 141.9
  },
  "luminance": 0.1821
}

Semantic roles & 50–950 ramp

primary
#2A8821
secondary
#AE4DB8
accent
#44E4D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8821

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

Preview Lab → · Contrast checker → · Palette generator →

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