#2A9820#2A9820

#2A9820 is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.6% C 0.182 H 141.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#2A9820
RGBrgb(42, 152, 32)
HSLhsl(115, 65%, 36%)
HSVhsv(115, 79%, 60%)
CMYKcmyk(72.4%, 0%, 78.9%, 40.4%)
CIE-LABlab(55.13, -52.69, 50.25)
CIE-LCHlch(55.13, 72.81, 136.36°)
OKLaboklab(59.59% -0.1435 0.1124)
OKLCHoklch(59.59% 0.182 141.9)
XYZxyz(12.4431, 23.0516, 5.1599)
Luminance0.2305 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9820 #8E2098
analogous
#669820 #2A9820 #209852
triadic
#2A9820 #202A98 #98202A
tetradic
#2A9820 #206698 #8E2098 #985220
square
#2A9820 #206698 #8E2098 #985220
split-complementary
#2A9820 #522098 #982066
monochromatic
#0E330B #1C6515 #2A9820 #38CB2B #62DC57

Accessibility & contrast

On white

3.74
#2A9820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#2A9820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9820
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9820#FFFFFF#000000##000000
##2A98201.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#8F812E
Tritanopia (blue-blind)
#089382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2a9820;
/* rgb */ color: rgb(42, 152, 32);
/* oklch */ color: oklch(59.6% 0.182 141.9);
Tailwind
colors: {
  custom: {
    50: '#75b765',
    500: '#2a9820',
    950: '#000000',
  },
}
SCSS
$custom: #2a9820;
$custom-light: #75b765;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9820",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 32
  },
  "hsl": {
    "h": 115,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59588,
    "c": 0.18232,
    "h": 141.9
  },
  "luminance": 0.23053
}

Semantic roles & 50–950 ramp

primary
#2A9820
secondary
#B654BF
accent
#40E8DA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2A9820

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

Preview Lab → · Contrast checker → · Palette generator →

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