#2A9722#2A9722

#2A9722 is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.3% C 0.180 H 142.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#2A9722
RGBrgb(42, 151, 34)
HSLhsl(116, 63%, 36%)
HSVhsv(116, 77%, 59%)
CMYKcmyk(72.2%, 0%, 77.5%, 40.8%)
CIE-LABlab(54.80, -52.21, 49.26)
CIE-LCHlch(54.80, 71.79, 136.67°)
OKLaboklab(59.32% -0.1421 0.1106)
OKLCHoklch(59.32% 0.18 142.1)
XYZxyz(12.3095, 22.7396, 5.2535)
Luminance0.2274 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9722 #8F2297
analogous
#659722 #2A9722 #229755
triadic
#2A9722 #222A97 #97222A
tetradic
#2A9722 #226597 #8F2297 #975522
square
#2A9722 #226597 #8F2297 #975522
split-complementary
#2A9722 #552297 #972265
monochromatic
#0E330C #1C6517 #2A9722 #38C92D #62DA5A

Accessibility & contrast

On white

3.79
#2A9722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#2A9722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9722
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9722#FFFFFF#000000##000000
##2A97221.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8806
Deuteranopia (green-blind)
#8E802F
Tritanopia (blue-blind)
#089281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2a9722;
/* rgb */ color: rgb(42, 151, 34);
/* oklch */ color: oklch(59.3% 0.180 142.1);
Tailwind
colors: {
  custom: {
    50: '#75b766',
    500: '#2a9722',
    950: '#000000',
  },
}
SCSS
$custom: #2a9722;
$custom-light: #75b766;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9722",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 115.897,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59324,
    "c": 0.18013,
    "h": 142.1
  },
  "luminance": 0.22741
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A9722

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

Preview Lab → · Contrast checker → · Palette generator →

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