#2A9522#2A9522

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

Color values

HEX#2A9522
RGBrgb(42, 149, 34)
HSLhsl(116, 63%, 36%)
HSVhsv(116, 77%, 58%)
CMYKcmyk(71.8%, 0%, 77.2%, 41.6%)
CIE-LABlab(54.13, -51.54, 48.61)
CIE-LCHlch(54.13, 70.84, 136.68°)
OKLaboklab(58.77% -0.1403 0.1093)
OKLCHoklch(58.77% 0.178 142.1)
XYZxyz(11.9903, 22.1013, 5.1471)
Luminance0.2210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9522 #8D2295
analogous
#639522 #2A9522 #229553
triadic
#2A9522 #222A95 #95222A
tetradic
#2A9522 #226395 #8D2295 #955322
square
#2A9522 #226395 #8D2295 #955322
split-complementary
#2A9522 #532295 #952263
monochromatic
#0E310B #1C6317 #2A9522 #38C72D #61D958

Accessibility & contrast

On white

3.87
#2A9522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A9522#FFFFFF#000000##000000
##2A95221.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998708
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#0A907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2a9522;
/* rgb */ color: rgb(42, 149, 34);
/* oklch */ color: oklch(58.8% 0.178 142.1);
Tailwind
colors: {
  custom: {
    50: '#75b566',
    500: '#2a9522',
    950: '#000000',
  },
}
SCSS
$custom: #2a9522;
$custom-light: #75b566;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9522",
  "rgb": {
    "r": 42,
    "g": 149,
    "b": 34
  },
  "hsl": {
    "h": 115.826,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58769,
    "c": 0.17784,
    "h": 142.1
  },
  "luminance": 0.22103
}

Semantic roles & 50–950 ramp

primary
#2A9522
secondary
#B656BD
accent
#42E6DA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2A9522

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

Preview Lab → · Contrast checker → · Palette generator →

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