#2A6116#2A6116

#2A6116 is a dark, vivid green. Relative luminance 0.091; OKLCH L 43.9% C 0.121 H 138.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#2A6116
RGBrgb(42, 97, 22)
HSLhsl(104, 63%, 23%)
HSVhsv(104, 77%, 38%)
CMYKcmyk(56.7%, 0%, 77.3%, 62%)
CIE-LABlab(36.17, -32.98, 35.22)
CIE-LCHlch(36.17, 48.25, 133.12°)
OKLaboklab(43.88% -0.0909 0.0796)
OKLCHoklch(43.88% 0.121 138.8)
XYZxyz(5.3742, 9.0991, 2.2320)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6116 #4D1661
analogous
#4F6116 #2A6116 #166127
triadic
#2A6116 #162A61 #61162A
tetradic
#2A6116 #164F61 #4D1661 #612716
square
#2A6116 #164F61 #4D1661 #612716
split-complementary
#2A6116 #271661 #61164F
monochromatic
#0B1906 #142F0B #2A6116 #409321 #55C52D

Accessibility & contrast

On white

7.45
#2A6116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2A6116 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A6116
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6116#FFFFFF#000000##FFFFFF
##2A61161.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645809
Deuteranopia (green-blind)
#5D531E
Tritanopia (blue-blind)
#255D52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2a6116;
/* rgb */ color: rgb(42, 97, 22);
/* oklch */ color: oklch(43.9% 0.121 138.8);
Tailwind
colors: {
  custom: {
    50: '#6a8e59',
    500: '#2a6116',
    950: '#000000',
  },
}
SCSS
$custom: #2a6116;
$custom-light: #6a8e59;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6116",
  "rgb": {
    "r": 42,
    "g": 97,
    "b": 22
  },
  "hsl": {
    "h": 104,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43882,
    "c": 0.12081,
    "h": 138.8
  },
  "luminance": 0.091
}

Semantic roles & 50–950 ramp

primary
#2A6116
secondary
#7F3B98
accent
#42E6BA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2A6116

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

Preview Lab → · Contrast checker → · Palette generator →

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