#2A8F32#2A8F32

#2A8F32 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.2% C 0.160 H 144.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2A8F32
RGBrgb(42, 143, 50)
HSLhsl(125, 55%, 36%)
HSVhsv(125, 71%, 56%)
CMYKcmyk(70.6%, 0%, 65%, 43.9%)
CIE-LABlab(52.25, -47.94, 40.11)
CIE-LCHlch(52.25, 62.51, 140.08°)
OKLaboklab(57.25% -0.1298 0.0934)
OKLCHoklch(57.25% 0.16 144.3)
XYZxyz(11.3523, 20.3662, 6.3498)
Luminance0.2037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8F32 #8F2A87
analogous
#558F2A #2A8F32 #2A8F65
triadic
#2A8F32 #322A8F #8F322A
tetradic
#2A8F32 #2A558F #8F2A87 #8F652A
square
#2A8F32 #2A558F #8F2A87 #8F652A
split-complementary
#2A8F32 #652A8F #8F2A55
monochromatic
#0E3011 #1C6021 #2A8F32 #38BE43 #62D16B

Accessibility & contrast

On white

4.14
#2A8F32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#2A8F32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8F32
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8F32#FFFFFF#000000##000000
##2A8F321.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928227
Deuteranopia (green-blind)
#86793A
Tritanopia (blue-blind)
#088B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2a8f32;
/* rgb */ color: rgb(42, 143, 50);
/* oklch */ color: oklch(57.2% 0.160 144.3);
Tailwind
colors: {
  custom: {
    50: '#72b16e',
    500: '#2a8f32',
    950: '#000000',
  },
}
SCSS
$custom: #2a8f32;
$custom-light: #72b16e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8f32",
  "rgb": {
    "r": 42,
    "g": 143,
    "b": 50
  },
  "hsl": {
    "h": 124.752,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57246,
    "c": 0.1599,
    "h": 144.3
  },
  "luminance": 0.20367
}

Semantic roles & 50–950 ramp

primary
#2A8F32
secondary
#B75EB0
accent
#4AD2DE
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A8F32

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

Preview Lab → · Contrast checker → · Palette generator →

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