#2A9F1A#2A9F1A

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

Color values

HEX#2A9F1A
RGBrgb(42, 159, 26)
HSLhsl(113, 72%, 36%)
HSVhsv(113, 84%, 62%)
CMYKcmyk(73.6%, 0%, 83.6%, 37.6%)
CIE-LABlab(57.43, -55.37, 54.23)
CIE-LCHlch(57.43, 77.50, 135.60°)
OKLaboklab(61.49% -0.151 0.1199)
OKLCHoklch(61.49% 0.193 141.6)
XYZxyz(13.5387, 25.3616, 5.1588)
Luminance0.2536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9F1A #8F1A9F
analogous
#6D9F1A #2A9F1A #1A9F4D
triadic
#2A9F1A #1A2A9F #9F1A2A
tetradic
#2A9F1A #1A6D9F #8F1A9F #9F4D1A
square
#2A9F1A #1A6D9F #8F1A9F #9F4D1A
split-complementary
#2A9F1A #4D1A9F #9F1A6D
monochromatic
#0E3609 #1C6A11 #2A9F1A #38D423 #62E351

Accessibility & contrast

On white

3.46
#2A9F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#2A9F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9F1A
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9F1A#FFFFFF#000000##000000
##2A9F1A1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#96862B
Tritanopia (blue-blind)
#029A87
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2a9f1a;
/* rgb */ color: rgb(42, 159, 26);
/* oklch */ color: oklch(61.5% 0.193 141.6);
Tailwind
colors: {
  custom: {
    50: '#77bc64',
    500: '#2a9f1a',
    950: '#000000',
  },
}
SCSS
$custom: #2a9f1a;
$custom-light: #77bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9f1a",
  "rgb": {
    "r": 42,
    "g": 159,
    "b": 26
  },
  "hsl": {
    "h": 112.782,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61489,
    "c": 0.19282,
    "h": 141.6
  },
  "luminance": 0.25363
}

Semantic roles & 50–950 ramp

primary
#2A9F1A
secondary
#B750C5
accent
#39EFD9
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2A9F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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