#2A9322#2A9322

#2A9322 is a mid, vivid green. Relative luminance 0.215; OKLCH L 58.2% C 0.176 H 142.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2A9322
RGBrgb(42, 147, 34)
HSLhsl(116, 62%, 35%)
HSVhsv(116, 77%, 58%)
CMYKcmyk(71.4%, 0%, 76.9%, 42.4%)
CIE-LABlab(53.46, -50.86, 47.94)
CIE-LCHlch(53.46, 69.89, 136.69°)
OKLaboklab(58.21% -0.1385 0.1079)
OKLCHoklch(58.21% 0.176 142.1)
XYZxyz(11.6766, 21.4739, 5.0426)
Luminance0.2147 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9322 #8B2293
analogous
#629322 #2A9322 #229352
triadic
#2A9322 #222A93 #93222A
tetradic
#2A9322 #226293 #8B2293 #935222
square
#2A9322 #226293 #8B2293 #935222
split-complementary
#2A9322 #522293 #932262
monochromatic
#0E300B #1C6117 #2A9322 #38C52D #60D857

Accessibility & contrast

On white

3.97
#2A9322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#2A9322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9322
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9322#FFFFFF#000000##000000
##2A93221.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978509
Deuteranopia (green-blind)
#8A7D2E
Tritanopia (blue-blind)
#0C8E7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2a9322;
/* rgb */ color: rgb(42, 147, 34);
/* oklch */ color: oklch(58.2% 0.176 142.1);
Tailwind
colors: {
  custom: {
    50: '#74b465',
    500: '#2a9322',
    950: '#000000',
  },
}
SCSS
$custom: #2a9322;
$custom-light: #74b465;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9322",
  "rgb": {
    "r": 42,
    "g": 147,
    "b": 34
  },
  "hsl": {
    "h": 115.752,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58213,
    "c": 0.17554,
    "h": 142.1
  },
  "luminance": 0.21475
}

Semantic roles & 50–950 ramp

primary
#2A9322
secondary
#B555BC
accent
#42E5DA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A9322

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

Preview Lab → · Contrast checker → · Palette generator →

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