#2A8931#2A8931

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

Color values

HEX#2A8931
RGBrgb(42, 137, 49)
HSLhsl(124, 53%, 35%)
HSVhsv(124, 69%, 54%)
CMYKcmyk(69.3%, 0%, 64.2%, 46.3%)
CIE-LABlab(50.22, -45.87, 38.30)
CIE-LCHlch(50.22, 59.76, 140.14°)
OKLaboklab(55.56% -0.1242 0.0895)
OKLCHoklch(55.56% 0.153 144.2)
XYZxyz(10.4542, 18.6042, 5.9452)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8931 #892A82
analogous
#52892A #2A8931 #2A8960
triadic
#2A8931 #312A89 #89312A
tetradic
#2A8931 #2A5289 #892A82 #89602A
square
#2A8931 #2A5289 #892A82 #89602A
split-complementary
#2A8931 #602A89 #892A52
monochromatic
#0D2B0F #1C5A20 #2A8931 #38B842 #5FCE68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8931#FFFFFF#000000##000000
##2A89311.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)
#8C7C27
Deuteranopia (green-blind)
#807438
Tritanopia (blue-blind)
#0E8576
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a8931;
/* rgb */ color: rgb(42, 137, 49);
/* oklch */ color: oklch(55.6% 0.153 144.2);
Tailwind
colors: {
  custom: {
    50: '#71ac6d',
    500: '#2a8931',
    950: '#000000',
  },
}
SCSS
$custom: #2a8931;
$custom-light: #71ac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8931",
  "rgb": {
    "r": 42,
    "g": 137,
    "b": 49
  },
  "hsl": {
    "h": 124.421,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55564,
    "c": 0.15307,
    "h": 144.2
  },
  "luminance": 0.18605
}

Semantic roles & 50–950 ramp

primary
#2A8931
secondary
#B45BAD
accent
#4BD2DC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2A8931

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

Preview Lab → · Contrast checker → · Palette generator →

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