#2A8832#2A8832

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

Color values

HEX#2A8832
RGBrgb(42, 136, 50)
HSLhsl(125, 53%, 35%)
HSVhsv(125, 69%, 53%)
CMYKcmyk(69.1%, 0%, 63.2%, 46.7%)
CIE-LABlab(49.89, -45.38, 37.46)
CIE-LCHlch(49.89, 58.84, 140.46°)
OKLaboklab(55.3% -0.1228 0.0878)
OKLCHoklch(55.3% 0.151 144.5)
XYZxyz(10.3341, 18.3298, 6.0104)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8832 #882A80
analogous
#51882A #2A8832 #2A8861
triadic
#2A8832 #322A88 #88322A
tetradic
#2A8832 #2A5188 #882A80 #88612A
square
#2A8832 #2A5188 #882A80 #88612A
split-complementary
#2A8832 #612A88 #882A51
monochromatic
#0D2A10 #1C5921 #2A8832 #38B743 #5FCE68

Accessibility & contrast

On white

4.50
#2A8832 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#2A8832 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8832
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8832#FFFFFF#000000##000000
##2A88321.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B28
Deuteranopia (green-blind)
#7F7439
Tritanopia (blue-blind)
#0E8476
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a8832;
/* rgb */ color: rgb(42, 136, 50);
/* oklch */ color: oklch(55.3% 0.151 144.5);
Tailwind
colors: {
  custom: {
    50: '#71ac6d',
    500: '#2a8832',
    950: '#000000',
  },
}
SCSS
$custom: #2a8832;
$custom-light: #71ac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8832",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 50
  },
  "hsl": {
    "h": 125.106,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55296,
    "c": 0.15097,
    "h": 144.5
  },
  "luminance": 0.18331
}

Semantic roles & 50–950 ramp

primary
#2A8832
secondary
#B35BAC
accent
#4CD0DC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2A8832

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

Preview Lab → · Contrast checker → · Palette generator →

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