#2A9F22#2A9F22

#2A9F22 is a mid, vivid green. Relative luminance 0.254; OKLCH L 61.5% C 0.189 H 142.2°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#2A9F22
RGBrgb(42, 159, 34)
HSLhsl(116, 65%, 38%)
HSVhsv(116, 79%, 62%)
CMYKcmyk(73.6%, 0%, 78.6%, 37.6%)
CIE-LABlab(57.47, -54.88, 51.86)
CIE-LCHlch(57.47, 75.51, 136.62°)
OKLaboklab(61.54% -0.1494 0.116)
OKLCHoklch(61.54% 0.189 142.2)
XYZxyz(13.6409, 25.4025, 5.6973)
Luminance0.2540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9F22 #97229F
analogous
#689F22 #2A9F22 #229F58
triadic
#2A9F22 #222A9F #9F222A
tetradic
#2A9F22 #22689F #97229F #9F5822
square
#2A9F22 #22689F #97229F #9F5822
split-complementary
#2A9F22 #58229F #9F2268
monochromatic
#0F3A0C #1D6D17 #2A9F22 #37D12D #67DD5F

Accessibility & contrast

On white

3.45
#2A9F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#2A9F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9F22
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9F22#FFFFFF#000000##000000
##2A9F221.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#968730
Tritanopia (blue-blind)
#009A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2a9f22;
/* rgb */ color: rgb(42, 159, 34);
/* oklch */ color: oklch(61.5% 0.189 142.2);
Tailwind
colors: {
  custom: {
    50: '#77bc67',
    500: '#2a9f22',
    950: '#000000',
  },
}
SCSS
$custom: #2a9f22;
$custom-light: #77bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9f22",
  "rgb": {
    "r": 42,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 116.16,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61535,
    "c": 0.18915,
    "h": 142.2
  },
  "luminance": 0.25404
}

Semantic roles & 50–950 ramp

primary
#2A9F22
secondary
#BB5BC1
accent
#40E8DD
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2A9F22

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

Preview Lab → · Contrast checker → · Palette generator →

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