#2A8D16#2A8D16

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

Color values

HEX#2A8D16
RGBrgb(42, 141, 22)
HSLhsl(110, 73%, 32%)
HSVhsv(110, 84%, 55%)
CMYKcmyk(70.2%, 0%, 84.4%, 44.7%)
CIE-LABlab(51.38, -49.58, 49.79)
CIE-LCHlch(51.38, 70.26, 134.88°)
OKLaboklab(56.46% -0.1356 0.11)
OKLCHoklch(56.46% 0.175 141)
XYZxyz(10.6240, 19.5988, 3.9820)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8D16 #79168D
analogous
#668D16 #2A8D16 #168D3E
triadic
#2A8D16 #162A8D #8D162A
tetradic
#2A8D16 #16668D #79168D #8D3E16
square
#2A8D16 #16668D #79168D #8D3E16
split-complementary
#2A8D16 #3E168D #8D1666
monochromatic
#0A2305 #1A580E #2A8D16 #3AC21E #58E13D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2a8d16;
/* rgb */ color: rgb(42, 141, 22);
/* oklch */ color: oklch(56.5% 0.175 141.0);
Tailwind
colors: {
  custom: {
    50: '#73af5f',
    500: '#2a8d16',
    950: '#000000',
  },
}
SCSS
$custom: #2a8d16;
$custom-light: #73af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8d16",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 109.916,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56464,
    "c": 0.17462,
    "h": 141
  },
  "luminance": 0.196
}

Semantic roles & 50–950 ramp

primary
#2A8D16
secondary
#AB3EC1
accent
#38F0D1
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2A8D16

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

Preview Lab → · Contrast checker → · Palette generator →

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