#2A8819#2A8819

#2A8819 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.1% C 0.168 H 141.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2A8819
RGBrgb(42, 136, 25)
HSLhsl(111, 69%, 32%)
HSVhsv(111, 82%, 53%)
CMYKcmyk(69.1%, 0%, 81.6%, 46.7%)
CIE-LABlab(49.70, -47.67, 47.33)
CIE-LCHlch(49.70, 67.18, 135.20°)
OKLaboklab(55.08% -0.1303 0.1053)
OKLCHoklch(55.08% 0.168 141.1)
XYZxyz(9.9340, 18.1697, 3.9031)
Luminance0.1817 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8819 #771988
analogous
#628819 #2A8819 #198840
triadic
#2A8819 #192A88 #88192A
tetradic
#2A8819 #196288 #771988 #884019
square
#2A8819 #196288 #771988 #884019
split-complementary
#2A8819 #401988 #881962
monochromatic
#0A2106 #1A540F #2A8819 #3ABC23 #58DC40

Accessibility & contrast

On white

4.53
#2A8819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#2A8819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8819
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8819#FFFFFF#000000##000000
##2A88191.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#817326
Tritanopia (blue-blind)
#178374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a8819;
/* rgb */ color: rgb(42, 136, 25);
/* oklch */ color: oklch(55.1% 0.168 141.1);
Tailwind
colors: {
  custom: {
    50: '#72ac60',
    500: '#2a8819',
    950: '#000000',
  },
}
SCSS
$custom: #2a8819;
$custom-light: #72ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8819",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 110.811,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55075,
    "c": 0.16756,
    "h": 141.1
  },
  "luminance": 0.18171
}

Semantic roles & 50–950 ramp

primary
#2A8819
secondary
#A941BB
accent
#3CECD1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2A8819

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

Preview Lab → · Contrast checker → · Palette generator →

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