#2A9920#2A9920

#2A9920 is a mid, vivid green. Relative luminance 0.234; OKLCH L 59.9% C 0.183 H 141.9°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2A9920
RGBrgb(42, 153, 32)
HSLhsl(115, 65%, 36%)
HSVhsv(115, 79%, 60%)
CMYKcmyk(72.5%, 0%, 79.1%, 40%)
CIE-LABlab(55.46, -53.03, 50.58)
CIE-LCHlch(55.46, 73.28, 136.35°)
OKLaboklab(59.87% -0.1444 0.1131)
OKLCHoklch(59.87% 0.183 141.9)
XYZxyz(12.6061, 23.3776, 5.2142)
Luminance0.2338 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9920 #8F2099
analogous
#679920 #2A9920 #209953
triadic
#2A9920 #202A99 #99202A
tetradic
#2A9920 #206799 #8F2099 #995320
square
#2A9920 #206799 #8F2099 #995320
split-complementary
#2A9920 #532099 #992067
monochromatic
#0E340B #1C6615 #2A9920 #38CC2B #62DC57

Accessibility & contrast

On white

3.70
#2A9920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#2A9920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9920
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9920#FFFFFF#000000##000000
##2A99201.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#90822E
Tritanopia (blue-blind)
#079482
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a9920;
/* rgb */ color: rgb(42, 153, 32);
/* oklch */ color: oklch(59.9% 0.183 141.9);
Tailwind
colors: {
  custom: {
    50: '#76b865',
    500: '#2a9920',
    950: '#000000',
  },
}
SCSS
$custom: #2a9920;
$custom-light: #76b865;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9920",
  "rgb": {
    "r": 42,
    "g": 153,
    "b": 32
  },
  "hsl": {
    "h": 115.041,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59865,
    "c": 0.18345,
    "h": 141.9
  },
  "luminance": 0.23379
}

Semantic roles & 50–950 ramp

primary
#2A9920
secondary
#B755C0
accent
#3FE8DA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2A9920

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

Preview Lab → · Contrast checker → · Palette generator →

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