#2A9520#2A9520

#2A9520 is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.8% C 0.179 H 141.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2A9520
RGBrgb(42, 149, 32)
HSLhsl(115, 65%, 35%)
HSVhsv(115, 79%, 58%)
CMYKcmyk(71.8%, 0%, 78.5%, 41.6%)
CIE-LABlab(54.12, -51.68, 49.28)
CIE-LCHlch(54.12, 71.41, 136.36°)
OKLaboklab(58.76% -0.1408 0.1104)
OKLCHoklch(58.76% 0.179 141.9)
XYZxyz(11.9623, 22.0901, 4.9996)
Luminance0.2209 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9520 #8B2095
analogous
#649520 #2A9520 #209550
triadic
#2A9520 #202A95 #95202A
tetradic
#2A9520 #206495 #8B2095 #955020
square
#2A9520 #206495 #8B2095 #955020
split-complementary
#2A9520 #502095 #952064
monochromatic
#0E300A #1C6315 #2A9520 #38C72B #60DA55

Accessibility & contrast

On white

3.88
#2A9520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#2A9520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9520
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9520#FFFFFF#000000##000000
##2A95201.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998702
Deuteranopia (green-blind)
#8C7E2D
Tritanopia (blue-blind)
#0B907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2a9520;
/* rgb */ color: rgb(42, 149, 32);
/* oklch */ color: oklch(58.8% 0.179 141.9);
Tailwind
colors: {
  custom: {
    50: '#75b565',
    500: '#2a9520',
    950: '#000000',
  },
}
SCSS
$custom: #2a9520;
$custom-light: #75b565;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9520",
  "rgb": {
    "r": 42,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 114.872,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58755,
    "c": 0.17892,
    "h": 141.9
  },
  "luminance": 0.22091
}

Semantic roles & 50–950 ramp

primary
#2A9520
secondary
#B553BE
accent
#40E8D9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2A9520

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

Preview Lab → · Contrast checker → · Palette generator →

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