#2A9B20#2A9B20

#2A9B20 is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.4% C 0.186 H 142.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2A9B20
RGBrgb(42, 155, 32)
HSLhsl(115, 66%, 37%)
HSVhsv(115, 79%, 61%)
CMYKcmyk(72.9%, 0%, 79.4%, 39.2%)
CIE-LABlab(56.13, -53.69, 51.22)
CIE-LCHlch(56.13, 74.20, 136.35°)
OKLaboklab(60.42% -0.1462 0.1144)
OKLCHoklch(60.42% 0.186 142)
XYZxyz(12.9362, 24.0378, 5.3242)
Luminance0.2404 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9B20 #91209B
analogous
#689B20 #2A9B20 #209B54
triadic
#2A9B20 #202A9B #9B202A
tetradic
#2A9B20 #20689B #91209B #9B5420
square
#2A9B20 #20689B #91209B #9B5420
split-complementary
#2A9B20 #54209B #9B2068
monochromatic
#0F360B #1C6816 #2A9B20 #38CE2A #63DD59

Accessibility & contrast

On white

3.62
#2A9B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#2A9B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9B20
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9B20#FFFFFF#000000##000000
##2A9B201.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#92832E
Tritanopia (blue-blind)
#049684
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2a9b20;
/* rgb */ color: rgb(42, 155, 32);
/* oklch */ color: oklch(60.4% 0.186 142.0);
Tailwind
colors: {
  custom: {
    50: '#76ba66',
    500: '#2a9b20',
    950: '#000000',
  },
}
SCSS
$custom: #2a9b20;
$custom-light: #76ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9b20",
  "rgb": {
    "r": 42,
    "g": 155,
    "b": 32
  },
  "hsl": {
    "h": 115.122,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60418,
    "c": 0.1857,
    "h": 142
  },
  "luminance": 0.24039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A9B20

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

Preview Lab → · Contrast checker → · Palette generator →

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