#2A8932#2A8932

#2A8932 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.152 H 144.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2A8932
RGBrgb(42, 137, 50)
HSLhsl(125, 53%, 35%)
HSVhsv(125, 69%, 54%)
CMYKcmyk(69.3%, 0%, 63.5%, 46.3%)
CIE-LABlab(50.23, -45.75, 37.84)
CIE-LCHlch(50.23, 59.37, 140.41°)
OKLaboklab(55.58% -0.1238 0.0886)
OKLCHoklch(55.58% 0.152 144.4)
XYZxyz(10.4756, 18.6127, 6.0575)
Luminance0.1861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8932 #892A81
analogous
#51892A #2A8932 #2A8962
triadic
#2A8932 #322A89 #89322A
tetradic
#2A8932 #2A5189 #892A81 #89622A
square
#2A8932 #2A5189 #892A81 #89622A
split-complementary
#2A8932 #622A89 #892A51
monochromatic
#0D2B10 #1C5A21 #2A8932 #38B843 #5FCE69

Accessibility & contrast

On white

4.45
#2A8932 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#2A8932 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8932
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8932#FFFFFF#000000##000000
##2A89321.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C28
Deuteranopia (green-blind)
#807439
Tritanopia (blue-blind)
#0D8576
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a8932;
/* rgb */ color: rgb(42, 137, 50);
/* oklch */ color: oklch(55.6% 0.152 144.4);
Tailwind
colors: {
  custom: {
    50: '#71ac6d',
    500: '#2a8932',
    950: '#000000',
  },
}
SCSS
$custom: #2a8932;
$custom-light: #71ac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8932",
  "rgb": {
    "r": 42,
    "g": 137,
    "b": 50
  },
  "hsl": {
    "h": 125.053,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55575,
    "c": 0.15226,
    "h": 144.4
  },
  "luminance": 0.18614
}

Semantic roles & 50–950 ramp

primary
#2A8932
secondary
#B45BAC
accent
#4BD0DC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2A8932

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

Preview Lab → · Contrast checker → · Palette generator →

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