#2A7016#2A7016

#2A7016 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.140 H 139.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#2A7016
RGBrgb(42, 112, 22)
HSLhsl(107, 67%, 26%)
HSVhsv(107, 80%, 44%)
CMYKcmyk(62.5%, 0%, 80.4%, 56.1%)
CIE-LABlab(41.43, -39.05, 40.43)
CIE-LCHlch(41.43, 56.21, 134.01°)
OKLaboklab(48.22% -0.1073 0.0905)
OKLCHoklch(48.22% 0.14 139.9)
XYZxyz(6.8935, 12.1379, 2.7385)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7016 #5C1670
analogous
#577016 #2A7016 #16702F
triadic
#2A7016 #162A70 #70162A
tetradic
#2A7016 #165770 #5C1670 #702F16
square
#2A7016 #165770 #5C1670 #702F16
split-complementary
#2A7016 #2F1670 #701657
monochromatic
#0A1A05 #173D0C #2A7016 #3DA320 #51D52B

Accessibility & contrast

On white

6.13
#2A7016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2A7016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7016
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7016#FFFFFF#000000##FFFFFF
##2A70161.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736502
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#216C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a7016;
/* rgb */ color: rgb(42, 112, 22);
/* oklch */ color: oklch(48.2% 0.140 139.9);
Tailwind
colors: {
  custom: {
    50: '#6d9a5b',
    500: '#2a7016',
    950: '#000000',
  },
}
SCSS
$custom: #2a7016;
$custom-light: #6d9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7016",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 106.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48224,
    "c": 0.14031,
    "h": 139.9
  },
  "luminance": 0.12139
}

Semantic roles & 50–950 ramp

primary
#2A7016
secondary
#8E3CA6
accent
#3EEAC4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2A7016

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

Preview Lab → · Contrast checker → · Palette generator →

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