#2A9822#2A9822

#2A9822 is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.6% C 0.181 H 142.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#2A9822
RGBrgb(42, 152, 34)
HSLhsl(116, 63%, 36%)
HSVhsv(116, 78%, 60%)
CMYKcmyk(72.4%, 0%, 77.6%, 40.4%)
CIE-LABlab(55.14, -52.55, 49.59)
CIE-LCHlch(55.14, 72.26, 136.66°)
OKLaboklab(59.6% -0.1431 0.1113)
OKLCHoklch(59.6% 0.181 142.1)
XYZxyz(12.4711, 23.0628, 5.3074)
Luminance0.2306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9822 #902298
analogous
#659822 #2A9822 #229855
triadic
#2A9822 #222A98 #98222A
tetradic
#2A9822 #226598 #902298 #985522
square
#2A9822 #226598 #902298 #985522
split-complementary
#2A9822 #552298 #982265
monochromatic
#0E340C #1C6617 #2A9822 #38CA2D #63DA5A

Accessibility & contrast

On white

3.74
#2A9822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#2A9822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9822
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9822#FFFFFF#000000##000000
##2A98221.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8905
Deuteranopia (green-blind)
#8F812F
Tritanopia (blue-blind)
#079382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2a9822;
/* rgb */ color: rgb(42, 152, 34);
/* oklch */ color: oklch(59.6% 0.181 142.1);
Tailwind
colors: {
  custom: {
    50: '#75b766',
    500: '#2a9822',
    950: '#000000',
  },
}
SCSS
$custom: #2a9822;
$custom-light: #75b766;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9822",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 115.932,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59601,
    "c": 0.18128,
    "h": 142.1
  },
  "luminance": 0.23064
}

Semantic roles & 50–950 ramp

primary
#2A9822
secondary
#B757BE
accent
#41E6DB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2A9822

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

Preview Lab → · Contrast checker → · Palette generator →

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