#2A8A16#2A8A16

#2A8A16 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.171 H 140.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2A8A16
RGBrgb(42, 138, 22)
HSLhsl(110, 73%, 31%)
HSVhsv(110, 84%, 54%)
CMYKcmyk(69.6%, 0%, 84.1%, 45.9%)
CIE-LABlab(50.37, -48.55, 48.86)
CIE-LCHlch(50.37, 68.87, 134.82°)
OKLaboklab(55.62% -0.1328 0.1081)
OKLCHoklch(55.62% 0.171 140.9)
XYZxyz(10.1876, 18.7261, 3.8365)
Luminance0.1873 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8A16 #76168A
analogous
#648A16 #2A8A16 #168A3C
triadic
#2A8A16 #162A8A #8A162A
tetradic
#2A8A16 #16648A #76168A #8A3C16
square
#2A8A16 #16648A #76168A #8A3C16
split-complementary
#2A8A16 #3C168A #8A1664
monochromatic
#0A2005 #1A550E #2A8A16 #3ABF1E #57E03B

Accessibility & contrast

On white

4.43
#2A8A16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#2A8A16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8A16
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8A16#FFFFFF#000000##000000
##2A8A161.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7C00
Deuteranopia (green-blind)
#837525
Tritanopia (blue-blind)
#168575
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a8a16;
/* rgb */ color: rgb(42, 138, 22);
/* oklch */ color: oklch(55.6% 0.171 140.9);
Tailwind
colors: {
  custom: {
    50: '#73ad5f',
    500: '#2a8a16',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a16;
$custom-light: #73ad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a16",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 22
  },
  "hsl": {
    "h": 109.655,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55621,
    "c": 0.17123,
    "h": 140.9
  },
  "luminance": 0.18727
}

Semantic roles & 50–950 ramp

primary
#2A8A16
secondary
#A83EBE
accent
#39EFD0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2A8A16

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

Preview Lab → · Contrast checker → · Palette generator →

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