#2A8A32#2A8A32

#2A8A32 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.154 H 144.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2A8A32
RGBrgb(42, 138, 50)
HSLhsl(125, 53%, 35%)
HSVhsv(125, 70%, 54%)
CMYKcmyk(69.6%, 0%, 63.8%, 45.9%)
CIE-LABlab(50.57, -46.12, 38.22)
CIE-LCHlch(50.57, 59.90, 140.35°)
OKLaboklab(55.85% -0.1248 0.0894)
OKLCHoklch(55.85% 0.154 144.4)
XYZxyz(10.6184, 18.8984, 6.1051)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8A32 #8A2A82
analogous
#528A2A #2A8A32 #2A8A62
triadic
#2A8A32 #322A8A #8A322A
tetradic
#2A8A32 #2A528A #8A2A82 #8A622A
square
#2A8A32 #2A528A #8A2A82 #8A622A
split-complementary
#2A8A32 #622A8A #8A2A52
monochromatic
#0D2C10 #1C5B21 #2A8A32 #38B943 #60CF69

Accessibility & contrast

On white

4.39
#2A8A32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2A8A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8A32
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8A32#FFFFFF#000000##000000
##2A8A321.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D28
Deuteranopia (green-blind)
#817539
Tritanopia (blue-blind)
#0D8677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a8a32;
/* rgb */ color: rgb(42, 138, 50);
/* oklch */ color: oklch(55.9% 0.154 144.4);
Tailwind
colors: {
  custom: {
    50: '#71ad6d',
    500: '#2a8a32',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a32;
$custom-light: #71ad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a32",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 125,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55854,
    "c": 0.15355,
    "h": 144.4
  },
  "luminance": 0.18899
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A8A32

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

Preview Lab → · Contrast checker → · Palette generator →

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