#2A7616#2A7616

#2A7616 is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.9% C 0.148 H 140.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#2A7616
RGBrgb(42, 118, 22)
HSLhsl(108, 69%, 27%)
HSVhsv(108, 81%, 46%)
CMYKcmyk(64.4%, 0%, 81.4%, 53.7%)
CIE-LABlab(43.52, -41.34, 42.43)
CIE-LCHlch(43.52, 59.24, 134.25°)
OKLaboklab(49.95% -0.1134 0.0946)
OKLCHoklch(49.95% 0.148 140.2)
XYZxyz(7.5777, 13.5063, 2.9665)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7616 #621676
analogous
#5A7616 #2A7616 #167632
triadic
#2A7616 #162A76 #76162A
tetradic
#2A7616 #165A76 #621676 #763216
square
#2A7616 #165A76 #621676 #763216
split-complementary
#2A7616 #321676 #76165A
monochromatic
#091A05 #18420C #2A7616 #3CAA20 #52D82E

Accessibility & contrast

On white

5.67
#2A7616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2A7616 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7616
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7616#FFFFFF#000000##FFFFFF
##2A76161.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B00
Deuteranopia (green-blind)
#706421
Tritanopia (blue-blind)
#1F7264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a7616;
/* rgb */ color: rgb(42, 118, 22);
/* oklch */ color: oklch(49.9% 0.148 140.2);
Tailwind
colors: {
  custom: {
    50: '#6e9e5c',
    500: '#2a7616',
    950: '#000000',
  },
}
SCSS
$custom: #2a7616;
$custom-light: #6e9e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7616",
  "rgb": {
    "r": 42,
    "g": 118,
    "b": 22
  },
  "hsl": {
    "h": 107.5,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49946,
    "c": 0.14772,
    "h": 140.2
  },
  "luminance": 0.13507
}

Semantic roles & 50–950 ramp

primary
#2A7616
secondary
#943CAC
accent
#3CEBC7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2A7616

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

Preview Lab → · Contrast checker → · Palette generator →

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