#2A9420#2A9420

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

Color values

HEX#2A9420
RGBrgb(42, 148, 32)
HSLhsl(115, 64%, 35%)
HSVhsv(115, 78%, 58%)
CMYKcmyk(71.6%, 0%, 78.4%, 42%)
CIE-LABlab(53.79, -51.34, 48.96)
CIE-LCHlch(53.79, 70.94, 136.36°)
OKLaboklab(58.48% -0.1399 0.1097)
OKLCHoklch(58.48% 0.178 141.9)
XYZxyz(11.8048, 21.7751, 4.9471)
Luminance0.2178 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9420 #8A2094
analogous
#649420 #2A9420 #209450
triadic
#2A9420 #202A94 #94202A
tetradic
#2A9420 #206494 #8A2094 #945020
square
#2A9420 #206494 #8A2094 #945020
split-complementary
#2A9420 #502094 #942064
monochromatic
#0D2F0A #1C6215 #2A9420 #38C62B #60DA54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A9420#FFFFFF#000000##000000
##2A94201.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)
#988603
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#0C8F7E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2a9420;
/* rgb */ color: rgb(42, 148, 32);
/* oklch */ color: oklch(58.5% 0.178 141.9);
Tailwind
colors: {
  custom: {
    50: '#75b465',
    500: '#2a9420',
    950: '#000000',
  },
}
SCSS
$custom: #2a9420;
$custom-light: #75b465;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9420",
  "rgb": {
    "r": 42,
    "g": 148,
    "b": 32
  },
  "hsl": {
    "h": 114.828,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58477,
    "c": 0.17779,
    "h": 141.9
  },
  "luminance": 0.21776
}

Semantic roles & 50–950 ramp

primary
#2A9420
secondary
#B452BE
accent
#40E7D9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A9420

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

Preview Lab → · Contrast checker → · Palette generator →

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