#2A8831#2A8831

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

Color values

HEX#2A8831
RGBrgb(42, 136, 49)
HSLhsl(124, 53%, 35%)
HSVhsv(124, 69%, 53%)
CMYKcmyk(69.1%, 0%, 64%, 46.7%)
CIE-LABlab(49.88, -45.50, 37.92)
CIE-LCHlch(49.88, 59.23, 140.19°)
OKLaboklab(55.28% -0.1232 0.0886)
OKLCHoklch(55.28% 0.152 144.3)
XYZxyz(10.3127, 18.3212, 5.8980)
Luminance0.1832 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8831 #882A81
analogous
#52882A #2A8831 #2A8860
triadic
#2A8831 #312A88 #88312A
tetradic
#2A8831 #2A5288 #882A81 #88602A
square
#2A8831 #2A5288 #882A81 #88602A
split-complementary
#2A8831 #602A88 #882A52
monochromatic
#0D2A0F #1C5920 #2A8831 #38B742 #5FCE67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8831#FFFFFF#000000##000000
##2A88311.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B27
Deuteranopia (green-blind)
#7F7438
Tritanopia (blue-blind)
#0F8476
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a8831;
/* rgb */ color: rgb(42, 136, 49);
/* oklch */ color: oklch(55.3% 0.152 144.3);
Tailwind
colors: {
  custom: {
    50: '#71ac6d',
    500: '#2a8831',
    950: '#000000',
  },
}
SCSS
$custom: #2a8831;
$custom-light: #71ac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8831",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 49
  },
  "hsl": {
    "h": 124.468,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55284,
    "c": 0.15178,
    "h": 144.3
  },
  "luminance": 0.18322
}

Semantic roles & 50–950 ramp

primary
#2A8831
secondary
#B35BAD
accent
#4CD1DC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2A8831

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

Preview Lab → · Contrast checker → · Palette generator →

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