#2A8922#2A8922

#2A8922 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.164 H 142.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2A8922
RGBrgb(42, 137, 34)
HSLhsl(115, 60%, 34%)
HSVhsv(115, 75%, 54%)
CMYKcmyk(69.3%, 0%, 75.2%, 46.3%)
CIE-LABlab(50.09, -47.37, 44.57)
CIE-LCHlch(50.09, 65.04, 136.75°)
OKLaboklab(55.42% -0.1291 0.1008)
OKLCHoklch(55.42% 0.164 142)
XYZxyz(10.1887, 18.4980, 4.5466)
Luminance0.1850 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8922 #812289
analogous
#5D8922 #2A8922 #22894D
triadic
#2A8922 #222A89 #89222A
tetradic
#2A8922 #225D89 #812289 #894D22
square
#2A8922 #225D89 #812289 #894D22
split-complementary
#2A8922 #4D2289 #89225D
monochromatic
#0C270A #1B5816 #2A8922 #39BA2E #5CD451

Accessibility & contrast

On white

4.47
#2A8922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#2A8922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8922
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8922#FFFFFF#000000##000000
##2A89221.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0F
Deuteranopia (green-blind)
#81742D
Tritanopia (blue-blind)
#148575
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a8922;
/* rgb */ color: rgb(42, 137, 34);
/* oklch */ color: oklch(55.4% 0.164 142.0);
Tailwind
colors: {
  custom: {
    50: '#72ac64',
    500: '#2a8922',
    950: '#000000',
  },
}
SCSS
$custom: #2a8922;
$custom-light: #72ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8922",
  "rgb": {
    "r": 42,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 115.34,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55418,
    "c": 0.16378,
    "h": 142
  },
  "luminance": 0.18499
}

Semantic roles & 50–950 ramp

primary
#2A8922
secondary
#AF4FB8
accent
#44E3D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8922

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

Preview Lab → · Contrast checker → · Palette generator →

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