#2A891A#2A891A

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

Color values

HEX#2A891A
RGBrgb(42, 137, 26)
HSLhsl(111, 68%, 32%)
HSVhsv(111, 81%, 54%)
CMYKcmyk(69.3%, 0%, 81%, 46.3%)
CIE-LABlab(50.05, -47.96, 47.34)
CIE-LCHlch(50.05, 67.39, 135.37°)
OKLaboklab(55.36% -0.1311 0.1055)
OKLCHoklch(55.36% 0.168 141.2)
XYZxyz(10.0864, 18.4571, 4.0081)
Luminance0.1846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A891A #791A89
analogous
#62891A #2A891A #1A8941
triadic
#2A891A #1A2A89 #891A2A
tetradic
#2A891A #1A6289 #791A89 #89411A
square
#2A891A #1A6289 #791A89 #89411A
split-complementary
#2A891A #411A89 #891A62
monochromatic
#0A2206 #1A5610 #2A891A #3ABC24 #58DB42

Accessibility & contrast

On white

4.48
#2A891A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#2A891A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A891A
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A891A#FFFFFF#000000##000000
##2A891A1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#827427
Tritanopia (blue-blind)
#168474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a891a;
/* rgb */ color: rgb(42, 137, 26);
/* oklch */ color: oklch(55.4% 0.168 141.2);
Tailwind
colors: {
  custom: {
    50: '#72ac60',
    500: '#2a891a',
    950: '#000000',
  },
}
SCSS
$custom: #2a891a;
$custom-light: #72ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#2a891a",
  "rgb": {
    "r": 42,
    "g": 137,
    "b": 26
  },
  "hsl": {
    "h": 111.351,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55362,
    "c": 0.16823,
    "h": 141.2
  },
  "luminance": 0.18458
}

Semantic roles & 50–950 ramp

primary
#2A891A
secondary
#AB43BC
accent
#3DEBD2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2A891A

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

Preview Lab → · Contrast checker → · Palette generator →

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