#2A9421#2A9421

#2A9421 is a mid, vivid green. Relative luminance 0.218; OKLCH L 58.5% C 0.177 H 142.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2A9421
RGBrgb(42, 148, 33)
HSLhsl(115, 64%, 35%)
HSVhsv(115, 78%, 58%)
CMYKcmyk(71.6%, 0%, 77.7%, 42%)
CIE-LABlab(53.79, -51.27, 48.62)
CIE-LCHlch(53.79, 70.66, 136.52°)
OKLaboklab(58.48% -0.1396 0.1092)
OKLCHoklch(58.48% 0.177 142)
XYZxyz(11.8186, 21.7806, 5.0198)
Luminance0.2178 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9421 #8B2194
analogous
#649421 #2A9421 #219451
triadic
#2A9421 #212A94 #94212A
tetradic
#2A9421 #216494 #8B2194 #945121
square
#2A9421 #216494 #8B2194 #945121
split-complementary
#2A9421 #512194 #942164
monochromatic
#0E300B #1C6216 #2A9421 #38C62C #60D956

Accessibility & contrast

On white

3.92
#2A9421 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#2A9421 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9421
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9421#FFFFFF#000000##000000
##2A94211.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988605
Deuteranopia (green-blind)
#8B7D2E
Tritanopia (blue-blind)
#0C8F7E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2a9421;
/* rgb */ color: rgb(42, 148, 33);
/* oklch */ color: oklch(58.5% 0.177 142.0);
Tailwind
colors: {
  custom: {
    50: '#74b465',
    500: '#2a9421',
    950: '#000000',
  },
}
SCSS
$custom: #2a9421;
$custom-light: #74b465;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9421",
  "rgb": {
    "r": 42,
    "g": 148,
    "b": 33
  },
  "hsl": {
    "h": 115.304,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58484,
    "c": 0.17725,
    "h": 142
  },
  "luminance": 0.21782
}

Semantic roles & 50–950 ramp

primary
#2A9421
secondary
#B554BD
accent
#41E7DA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A9421

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

Preview Lab → · Contrast checker → · Palette generator →

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