#2A8116#2A8116

#2A8116 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.161 H 140.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2A8116
RGBrgb(42, 129, 22)
HSLhsl(109, 71%, 30%)
HSVhsv(109, 83%, 51%)
CMYKcmyk(67.4%, 0%, 82.9%, 49.4%)
CIE-LABlab(47.30, -45.38, 46.01)
CIE-LCHlch(47.30, 64.62, 134.60°)
OKLaboklab(53.08% -0.1243 0.1021)
OKLCHoklch(53.08% 0.161 140.6)
XYZxyz(8.9495, 16.2498, 3.4238)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8116 #6D1681
analogous
#608116 #2A8116 #168138
triadic
#2A8116 #162A81 #81162A
tetradic
#2A8116 #166081 #6D1681 #813816
square
#2A8116 #166081 #6D1681 #813816
split-complementary
#2A8116 #381681 #811660
monochromatic
#091A04 #194D0D #2A8116 #3BB51F #54DD35

Accessibility & contrast

On white

4.94
#2A8116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#2A8116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8116
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8116#FFFFFF#000000##FFFFFF
##2A81161.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#7A6E23
Tritanopia (blue-blind)
#1B7D6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a8116;
/* rgb */ color: rgb(42, 129, 22);
/* oklch */ color: oklch(53.1% 0.161 140.6);
Tailwind
colors: {
  custom: {
    50: '#71a65d',
    500: '#2a8116',
    950: '#000000',
  },
}
SCSS
$custom: #2a8116;
$custom-light: #71a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8116",
  "rgb": {
    "r": 42,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 108.785,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5308,
    "c": 0.16086,
    "h": 140.6
  },
  "luminance": 0.16251
}

Semantic roles & 50–950 ramp

primary
#2A8116
secondary
#9F3DB6
accent
#3AEECC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2A8116

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

Preview Lab → · Contrast checker → · Palette generator →

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