#2A9A20#2A9A20

#2A9A20 is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.1% C 0.185 H 142.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2A9A20
RGBrgb(42, 154, 32)
HSLhsl(115, 66%, 36%)
HSVhsv(115, 79%, 60%)
CMYKcmyk(72.7%, 0%, 79.2%, 39.6%)
CIE-LABlab(55.79, -53.36, 50.90)
CIE-LCHlch(55.79, 73.74, 136.35°)
OKLaboklab(60.14% -0.1453 0.1138)
OKLCHoklch(60.14% 0.185 142)
XYZxyz(12.7704, 23.7063, 5.2690)
Luminance0.2371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9A20 #90209A
analogous
#679A20 #2A9A20 #209A53
triadic
#2A9A20 #202A9A #9A202A
tetradic
#2A9A20 #20679A #90209A #9A5320
square
#2A9A20 #20679A #90209A #9A5320
split-complementary
#2A9A20 #53209A #9A2067
monochromatic
#0E350B #1C6715 #2A9A20 #38CD2B #63DC58

Accessibility & contrast

On white

3.66
#2A9A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#2A9A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9A20
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9A20#FFFFFF#000000##000000
##2A9A201.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#91822E
Tritanopia (blue-blind)
#069583
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2a9a20;
/* rgb */ color: rgb(42, 154, 32);
/* oklch */ color: oklch(60.1% 0.185 142.0);
Tailwind
colors: {
  custom: {
    50: '#76b966',
    500: '#2a9a20',
    950: '#000000',
  },
}
SCSS
$custom: #2a9a20;
$custom-light: #76b966;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9a20",
  "rgb": {
    "r": 42,
    "g": 154,
    "b": 32
  },
  "hsl": {
    "h": 115.082,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60142,
    "c": 0.18458,
    "h": 142
  },
  "luminance": 0.23708
}

Semantic roles & 50–950 ramp

primary
#2A9A20
secondary
#B756C0
accent
#3FE9DB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2A9A20

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

Preview Lab → · Contrast checker → · Palette generator →

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