#2A8918#2A8918

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

Color values

HEX#2A8918
RGBrgb(42, 137, 24)
HSLhsl(110, 70%, 32%)
HSVhsv(110, 82%, 54%)
CMYKcmyk(69.3%, 0%, 82.5%, 46.3%)
CIE-LABlab(50.04, -48.08, 47.96)
CIE-LCHlch(50.04, 67.91, 135.07°)
OKLaboklab(55.35% -0.1315 0.1065)
OKLCHoklch(55.35% 0.169 141)
XYZxyz(10.0649, 18.4485, 3.8945)
Luminance0.1845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8918 #771889
analogous
#638918 #2A8918 #18893E
triadic
#2A8918 #182A89 #89182A
tetradic
#2A8918 #186389 #771889 #893E18
square
#2A8918 #186389 #771889 #893E18
split-complementary
#2A8918 #3E1889 #891863
monochromatic
#0A2106 #1A550F #2A8918 #3ABD21 #58DD3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8918#FFFFFF#000000##000000
##2A89181.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)
#827426
Tritanopia (blue-blind)
#168474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a8918;
/* rgb */ color: rgb(42, 137, 24);
/* oklch */ color: oklch(55.4% 0.169 141.0);
Tailwind
colors: {
  custom: {
    50: '#72ac60',
    500: '#2a8918',
    950: '#000000',
  },
}
SCSS
$custom: #2a8918;
$custom-light: #72ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8918",
  "rgb": {
    "r": 42,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 110.442,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55351,
    "c": 0.16919,
    "h": 141
  },
  "luminance": 0.1845
}

Semantic roles & 50–950 ramp

primary
#2A8918
secondary
#A940BD
accent
#3BEDD1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2A8918

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

Preview Lab → · Contrast checker → · Palette generator →

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