#2A9321#2A9321

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

Color values

HEX#2A9321
RGBrgb(42, 147, 33)
HSLhsl(115, 63%, 35%)
HSVhsv(115, 78%, 58%)
CMYKcmyk(71.4%, 0%, 77.6%, 42.4%)
CIE-LABlab(53.46, -50.93, 48.29)
CIE-LCHlch(53.46, 70.18, 136.52°)
OKLaboklab(58.21% -0.1387 0.1085)
OKLCHoklch(58.21% 0.176 142)
XYZxyz(11.6624, 21.4682, 4.9677)
Luminance0.2147 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9321 #8A2193
analogous
#639321 #2A9321 #219351
triadic
#2A9321 #212A93 #93212A
tetradic
#2A9321 #216393 #8A2193 #935121
square
#2A9321 #216393 #8A2193 #935121
split-complementary
#2A9321 #512193 #932163
monochromatic
#0D2F0B #1C6116 #2A9321 #38C52C #60D955

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A9321#FFFFFF#000000##000000
##2A93211.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)
#978506
Deuteranopia (green-blind)
#8A7D2E
Tritanopia (blue-blind)
#0D8E7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2a9321;
/* rgb */ color: rgb(42, 147, 33);
/* oklch */ color: oklch(58.2% 0.176 142.0);
Tailwind
colors: {
  custom: {
    50: '#74b465',
    500: '#2a9321',
    950: '#000000',
  },
}
SCSS
$custom: #2a9321;
$custom-light: #74b465;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9321",
  "rgb": {
    "r": 42,
    "g": 147,
    "b": 33
  },
  "hsl": {
    "h": 115.263,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58206,
    "c": 0.1761,
    "h": 142
  },
  "luminance": 0.21469
}

Semantic roles & 50–950 ramp

primary
#2A9321
secondary
#B453BD
accent
#41E6D9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A9321

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

Preview Lab → · Contrast checker → · Palette generator →

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