#2A8D18#2A8D18

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

Color values

HEX#2A8D18
RGBrgb(42, 141, 24)
HSLhsl(111, 71%, 32%)
HSVhsv(111, 83%, 55%)
CMYKcmyk(70.2%, 0%, 83%, 44.7%)
CIE-LABlab(51.39, -49.47, 49.22)
CIE-LCHlch(51.39, 69.78, 135.14°)
OKLaboklab(56.47% -0.1352 0.1091)
OKLCHoklch(56.47% 0.174 141.1)
XYZxyz(10.6440, 19.6068, 4.0875)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8D18 #7B188D
analogous
#658D18 #2A8D18 #188D40
triadic
#2A8D18 #182A8D #8D182A
tetradic
#2A8D18 #18658D #7B188D #8D4018
square
#2A8D18 #18658D #7B188D #8D4018
split-complementary
#2A8D18 #40188D #8D1865
monochromatic
#0B2406 #1A590F #2A8D18 #3AC121 #59DF41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8D18#FFFFFF#000000##000000
##2A8D181.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)
#857727
Tritanopia (blue-blind)
#148878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2a8d18;
/* rgb */ color: rgb(42, 141, 24);
/* oklch */ color: oklch(56.5% 0.174 141.1);
Tailwind
colors: {
  custom: {
    50: '#73af60',
    500: '#2a8d18',
    950: '#000000',
  },
}
SCSS
$custom: #2a8d18;
$custom-light: #73af60;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8d18",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 110.769,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56474,
    "c": 0.17376,
    "h": 141.1
  },
  "luminance": 0.19608
}

Semantic roles & 50–950 ramp

primary
#2A8D18
secondary
#AC42BF
accent
#3AEED2
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2A8D18

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

Preview Lab → · Contrast checker → · Palette generator →

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