#2A8E1A#2A8E1A

#2A8E1A is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.174 H 141.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2A8E1A
RGBrgb(42, 142, 26)
HSLhsl(112, 69%, 33%)
HSVhsv(112, 82%, 56%)
CMYKcmyk(70.4%, 0%, 81.7%, 44.3%)
CIE-LABlab(51.74, -49.69, 48.94)
CIE-LCHlch(51.74, 69.75, 135.44°)
OKLaboklab(56.77% -0.1357 0.1088)
OKLCHoklch(56.77% 0.174 141.3)
XYZxyz(10.8137, 19.9117, 4.2505)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8E1A #7E1A8E
analogous
#648E1A #2A8E1A #1A8E44
triadic
#2A8E1A #1A2A8E #8E1A2A
tetradic
#2A8E1A #1A648E #7E1A8E #8E441A
square
#2A8E1A #1A648E #7E1A8E #8E441A
split-complementary
#2A8E1A #441A8E #8E1A64
monochromatic
#0B2707 #1B5A11 #2A8E1A #39C223 #5ADD45

Accessibility & contrast

On white

4.21
#2A8E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#2A8E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8E1A
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8E1A#FFFFFF#000000##000000
##2A8E1A1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#138979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8e1a;
/* rgb */ color: rgb(42, 142, 26);
/* oklch */ color: oklch(56.8% 0.174 141.3);
Tailwind
colors: {
  custom: {
    50: '#73b061',
    500: '#2a8e1a',
    950: '#000000',
  },
}
SCSS
$custom: #2a8e1a;
$custom-light: #73b061;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8e1a",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 111.724,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56766,
    "c": 0.17397,
    "h": 141.3
  },
  "luminance": 0.19913
}

Semantic roles & 50–950 ramp

primary
#2A8E1A
secondary
#AE45BE
accent
#3CECD4
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091105
muted
#7B807A

Preview Lab

Preview with #2A8E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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