#2A9221#2A9221

#2A9221 is a mid, vivid green. Relative luminance 0.212; OKLCH L 57.9% C 0.175 H 142.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2A9221
RGBrgb(42, 146, 33)
HSLhsl(115, 63%, 35%)
HSVhsv(115, 77%, 57%)
CMYKcmyk(71.2%, 0%, 77.4%, 42.7%)
CIE-LABlab(53.12, -50.59, 47.96)
CIE-LCHlch(53.12, 69.71, 136.53°)
OKLaboklab(57.93% -0.1378 0.1078)
OKLCHoklch(57.93% 0.175 142)
XYZxyz(11.5076, 21.1586, 4.9161)
Luminance0.2116 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9221 #892192
analogous
#639221 #2A9221 #219250
triadic
#2A9221 #212A92 #92212A
tetradic
#2A9221 #216392 #892192 #925021
square
#2A9221 #216392 #892192 #925021
split-complementary
#2A9221 #502192 #922163
monochromatic
#0D2E0A #1C6016 #2A9221 #38C42C #5FD955

Accessibility & contrast

On white

4.01
#2A9221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#2A9221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9221
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9221#FFFFFF#000000##000000
##2A92211.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968407
Deuteranopia (green-blind)
#8A7C2E
Tritanopia (blue-blind)
#0E8D7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2a9221;
/* rgb */ color: rgb(42, 146, 33);
/* oklch */ color: oklch(57.9% 0.175 142.0);
Tailwind
colors: {
  custom: {
    50: '#74b365',
    500: '#2a9221',
    950: '#000000',
  },
}
SCSS
$custom: #2a9221;
$custom-light: #74b365;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9221",
  "rgb": {
    "r": 42,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 115.221,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57928,
    "c": 0.17495,
    "h": 142
  },
  "luminance": 0.2116
}

Semantic roles & 50–950 ramp

primary
#2A9221
secondary
#B453BC
accent
#42E6D9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A9221

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

Preview Lab → · Contrast checker → · Palette generator →

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