#2A8D1A#2A8D1A

#2A8D1A is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.173 H 141.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2A8D1A
RGBrgb(42, 141, 26)
HSLhsl(112, 69%, 33%)
HSVhsv(112, 82%, 55%)
CMYKcmyk(70.2%, 0%, 81.6%, 44.7%)
CIE-LABlab(51.40, -49.35, 48.62)
CIE-LCHlch(51.40, 69.28, 135.42°)
OKLaboklab(56.49% -0.1348 0.1082)
OKLCHoklch(56.49% 0.173 141.3)
XYZxyz(10.6656, 19.6154, 4.2012)
Luminance0.1962 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8D1A #7D1A8D
analogous
#638D1A #2A8D1A #1A8D43
triadic
#2A8D1A #1A2A8D #8D1A2A
tetradic
#2A8D1A #1A638D #7D1A8D #8D431A
square
#2A8D1A #1A638D #7D1A8D #8D431A
split-complementary
#2A8D1A #431A8D #8D1A63
monochromatic
#0B2607 #1B5910 #2A8D1A #39C124 #5ADD45

Accessibility & contrast

On white

4.27
#2A8D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#2A8D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8D1A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8D1A#FFFFFF#000000##000000
##2A8D1A1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#857728
Tritanopia (blue-blind)
#148878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2a8d1a;
/* rgb */ color: rgb(42, 141, 26);
/* oklch */ color: oklch(56.5% 0.173 141.3);
Tailwind
colors: {
  custom: {
    50: '#73af61',
    500: '#2a8d1a',
    950: '#000000',
  },
}
SCSS
$custom: #2a8d1a;
$custom-light: #73af61;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8d1a",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 111.652,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56485,
    "c": 0.17282,
    "h": 141.3
  },
  "luminance": 0.19617
}

Semantic roles & 50–950 ramp

primary
#2A8D1A
secondary
#AD45BE
accent
#3CECD3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2A8D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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