#2A9732#2A9732

#2A9732 is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.5% C 0.170 H 144.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#2A9732
RGBrgb(42, 151, 50)
HSLhsl(124, 56%, 38%)
HSVhsv(124, 72%, 59%)
CMYKcmyk(72.2%, 0%, 66.9%, 40.8%)
CIE-LABlab(54.92, -50.78, 43.07)
CIE-LCHlch(54.92, 66.58, 139.70°)
OKLaboklab(59.46% -0.1375 0.0997)
OKLCHoklch(59.46% 0.17 144.1)
XYZxyz(12.5964, 22.8544, 6.7645)
Luminance0.2286 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9732 #972A8F
analogous
#58972A #2A9732 #2A9769
triadic
#2A9732 #322A97 #97322A
tetradic
#2A9732 #2A5897 #972A8F #97692A
square
#2A9732 #2A5897 #972A8F #97692A
split-complementary
#2A9732 #692A97 #972A58
monochromatic
#0F3712 #1D6722 #2A9732 #37C742 #67D56F

Accessibility & contrast

On white

3.77
#2A9732 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#2A9732 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9732
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9732#FFFFFF#000000##000000
##2A97321.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8925
Deuteranopia (green-blind)
#8D803B
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2a9732;
/* rgb */ color: rgb(42, 151, 50);
/* oklch */ color: oklch(59.5% 0.170 144.1);
Tailwind
colors: {
  custom: {
    50: '#74b76f',
    500: '#2a9732',
    950: '#000000',
  },
}
SCSS
$custom: #2a9732;
$custom-light: #74b76f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9732",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 50
  },
  "hsl": {
    "h": 124.404,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59461,
    "c": 0.16981,
    "h": 144.1
  },
  "luminance": 0.22856
}

Semantic roles & 50–950 ramp

primary
#2A9732
secondary
#BB62B4
accent
#48D5E0
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A9732

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

Preview Lab → · Contrast checker → · Palette generator →

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