#2A841A#2A841A

#2A841A is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.162 H 141.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2A841A
RGBrgb(42, 132, 26)
HSLhsl(111, 67%, 31%)
HSVhsv(111, 80%, 52%)
CMYKcmyk(68.2%, 0%, 80.3%, 48.2%)
CIE-LABlab(48.35, -46.19, 45.72)
CIE-LCHlch(48.35, 64.99, 135.30°)
OKLaboklab(53.95% -0.1263 0.1021)
OKLCHoklch(53.95% 0.162 141.1)
XYZxyz(9.3921, 17.0684, 3.7766)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A841A #741A84
analogous
#5F841A #2A841A #1A843F
triadic
#2A841A #1A2A84 #841A2A
tetradic
#2A841A #1A5F84 #741A84 #843F1A
square
#2A841A #1A5F84 #741A84 #843F1A
split-complementary
#2A841A #3F1A84 #841A5F
monochromatic
#091E06 #1A5110 #2A841A #3AB724 #56D93F

Accessibility & contrast

On white

4.76
#2A841A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#2A841A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A841A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A841A#FFFFFF#000000##FFFFFF
##2A841A1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#198070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a841a;
/* rgb */ color: rgb(42, 132, 26);
/* oklch */ color: oklch(54.0% 0.162 141.1);
Tailwind
colors: {
  custom: {
    50: '#71a960',
    500: '#2a841a',
    950: '#000000',
  },
}
SCSS
$custom: #2a841a;
$custom-light: #71a960;
$custom-dark: #000000;
JSON
{
  "hex": "#2a841a",
  "rgb": {
    "r": 42,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 110.943,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53953,
    "c": 0.16239,
    "h": 141.1
  },
  "luminance": 0.17069
}

Semantic roles & 50–950 ramp

primary
#2A841A
secondary
#A642B8
accent
#3EEAD0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2A841A

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

Preview Lab → · Contrast checker → · Palette generator →

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