#2A7716#2A7716

#2A7716 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.149 H 140.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#2A7716
RGBrgb(42, 119, 22)
HSLhsl(108, 69%, 28%)
HSVhsv(108, 82%, 47%)
CMYKcmyk(64.7%, 0%, 81.5%, 53.3%)
CIE-LABlab(43.86, -41.71, 42.76)
CIE-LCHlch(43.86, 59.74, 134.29°)
OKLaboklab(50.23% -0.1144 0.0953)
OKLCHoklch(50.23% 0.149 140.2)
XYZxyz(7.6961, 13.7431, 3.0060)
Luminance0.1374 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7716 #631677
analogous
#5A7716 #2A7716 #167733
triadic
#2A7716 #162A77 #77162A
tetradic
#2A7716 #165A77 #631677 #773316
square
#2A7716 #165A77 #631677 #773316
split-complementary
#2A7716 #331677 #77165A
monochromatic
#091A05 #18430C #2A7716 #3CAB20 #52D92F

Accessibility & contrast

On white

5.60
#2A7716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#2A7716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7716
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7716#FFFFFF#000000##FFFFFF
##2A77161.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C00
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#1F7365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a7716;
/* rgb */ color: rgb(42, 119, 22);
/* oklch */ color: oklch(50.2% 0.149 140.2);
Tailwind
colors: {
  custom: {
    50: '#6f9f5c',
    500: '#2a7716',
    950: '#000000',
  },
}
SCSS
$custom: #2a7716;
$custom-light: #6f9f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7716",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 107.629,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50232,
    "c": 0.14894,
    "h": 140.2
  },
  "luminance": 0.13744
}

Semantic roles & 50–950 ramp

primary
#2A7716
secondary
#953CAC
accent
#3CECC7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2A7716

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

Preview Lab → · Contrast checker → · Palette generator →

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