#2A9E22#2A9E22

#2A9E22 is a mid, vivid green. Relative luminance 0.251; OKLCH L 61.3% C 0.188 H 142.2°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2A9E22
RGBrgb(42, 158, 34)
HSLhsl(116, 65%, 38%)
HSVhsv(116, 78%, 62%)
CMYKcmyk(73.4%, 0%, 78.5%, 38%)
CIE-LABlab(57.13, -54.55, 51.54)
CIE-LCHlch(57.13, 75.05, 136.63°)
OKLaboklab(61.26% -0.1485 0.1154)
OKLCHoklch(61.26% 0.188 142.2)
XYZxyz(13.4697, 25.0599, 5.6402)
Luminance0.2506 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9E22 #96229E
analogous
#689E22 #2A9E22 #229E58
triadic
#2A9E22 #222A9E #9E222A
tetradic
#2A9E22 #22689E #96229E #9E5822
square
#2A9E22 #22689E #96229E #9E5822
split-complementary
#2A9E22 #58229E #9E2268
monochromatic
#0F390C #1D6C17 #2A9E22 #37D02D #66DC5E

Accessibility & contrast

On white

3.49
#2A9E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#2A9E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9E22
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9E22#FFFFFF#000000##000000
##2A9E221.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F01
Deuteranopia (green-blind)
#958630
Tritanopia (blue-blind)
#009987
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #2a9e22;
/* rgb */ color: rgb(42, 158, 34);
/* oklch */ color: oklch(61.3% 0.188 142.2);
Tailwind
colors: {
  custom: {
    50: '#77bc67',
    500: '#2a9e22',
    950: '#000000',
  },
}
SCSS
$custom: #2a9e22;
$custom-light: #77bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9e22",
  "rgb": {
    "r": 42,
    "g": 158,
    "b": 34
  },
  "hsl": {
    "h": 116.129,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61259,
    "c": 0.18803,
    "h": 142.2
  },
  "luminance": 0.25061
}

Semantic roles & 50–950 ramp

primary
#2A9E22
secondary
#BA5BC1
accent
#40E8DD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2A9E22

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

Preview Lab → · Contrast checker → · Palette generator →

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