#2A9222#2A9222

#2A9222 is a mid, vivid green. Relative luminance 0.212; OKLCH L 57.9% C 0.174 H 142.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2A9222
RGBrgb(42, 146, 34)
HSLhsl(116, 62%, 35%)
HSVhsv(116, 77%, 57%)
CMYKcmyk(71.2%, 0%, 76.7%, 42.7%)
CIE-LABlab(53.13, -50.51, 47.61)
CIE-LCHlch(53.13, 69.41, 136.69°)
OKLaboklab(57.94% -0.1375 0.1072)
OKLCHoklch(57.94% 0.174 142.1)
XYZxyz(11.5218, 21.1643, 4.9910)
Luminance0.2117 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9222 #8A2292
analogous
#629222 #2A9222 #229252
triadic
#2A9222 #222A92 #92222A
tetradic
#2A9222 #226292 #8A2292 #925222
square
#2A9222 #226292 #8A2292 #925222
split-complementary
#2A9222 #522292 #922262
monochromatic
#0D2F0B #1C6016 #2A9222 #38C42E #60D857

Accessibility & contrast

On white

4.01
#2A9222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#2A9222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9222
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9222#FFFFFF#000000##000000
##2A92221.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96840A
Deuteranopia (green-blind)
#8A7C2E
Tritanopia (blue-blind)
#0D8D7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2a9222;
/* rgb */ color: rgb(42, 146, 34);
/* oklch */ color: oklch(57.9% 0.174 142.1);
Tailwind
colors: {
  custom: {
    50: '#74b365',
    500: '#2a9222',
    950: '#000000',
  },
}
SCSS
$custom: #2a9222;
$custom-light: #74b365;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9222",
  "rgb": {
    "r": 42,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 115.714,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57935,
    "c": 0.17438,
    "h": 142.1
  },
  "luminance": 0.21166
}

Semantic roles & 50–950 ramp

primary
#2A9222
secondary
#B454BC
accent
#43E5DA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A9222

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

Preview Lab → · Contrast checker → · Palette generator →

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