#2A9622#2A9622

#2A9622 is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.0% C 0.179 H 142.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#2A9622
RGBrgb(42, 150, 34)
HSLhsl(116, 63%, 36%)
HSVhsv(116, 77%, 59%)
CMYKcmyk(72%, 0%, 77.3%, 41.2%)
CIE-LABlab(54.47, -51.88, 48.94)
CIE-LCHlch(54.47, 71.32, 136.67°)
OKLaboklab(59.05% -0.1412 0.11)
OKLCHoklch(59.05% 0.179 142.1)
XYZxyz(12.1492, 22.4191, 5.2001)
Luminance0.2242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9622 #8E2296
analogous
#649622 #2A9622 #229654
triadic
#2A9622 #222A96 #96222A
tetradic
#2A9622 #226496 #8E2296 #965422
square
#2A9622 #226496 #8E2296 #965422
split-complementary
#2A9622 #542296 #962264
monochromatic
#0E320B #1C6417 #2A9622 #38C82D #62D959

Accessibility & contrast

On white

3.83
#2A9622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#2A9622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9622
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9622#FFFFFF#000000##000000
##2A96221.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8707
Deuteranopia (green-blind)
#8D7F2F
Tritanopia (blue-blind)
#099180
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a9622;
/* rgb */ color: rgb(42, 150, 34);
/* oklch */ color: oklch(59.0% 0.179 142.1);
Tailwind
colors: {
  custom: {
    50: '#75b666',
    500: '#2a9622',
    950: '#000000',
  },
}
SCSS
$custom: #2a9622;
$custom-light: #75b666;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9622",
  "rgb": {
    "r": 42,
    "g": 150,
    "b": 34
  },
  "hsl": {
    "h": 115.862,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59047,
    "c": 0.17899,
    "h": 142.1
  },
  "luminance": 0.2242
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A9622

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

Preview Lab → · Contrast checker → · Palette generator →

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