#2A6911#2A6911

#2A6911 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.2% C 0.134 H 138.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#2A6911
RGBrgb(42, 105, 17)
HSLhsl(103, 72%, 24%)
HSVhsv(103, 84%, 41%)
CMYKcmyk(60%, 0%, 83.8%, 58.8%)
CIE-LABlab(38.96, -36.63, 39.78)
CIE-LCHlch(38.96, 54.08, 132.63°)
OKLaboklab(46.17% -0.101 0.0883)
OKLCHoklch(46.17% 0.134 138.8)
XYZxyz(6.1074, 10.6353, 2.2612)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6911 #501169
analogous
#566911 #2A6911 #116924
triadic
#2A6911 #112A69 #69112A
tetradic
#2A6911 #115669 #501169 #692411
square
#2A6911 #115669 #501169 #692411
split-complementary
#2A6911 #241169 #691156
monochromatic
#0B1A04 #153408 #2A6911 #3F9E1A #54D222

Accessibility & contrast

On white

6.72
#2A6911 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2A6911 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6911
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6911#FFFFFF#000000##FFFFFF
##2A69111.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#655A1B
Tritanopia (blue-blind)
#246559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a6911;
/* rgb */ color: rgb(42, 105, 17);
/* oklch */ color: oklch(46.2% 0.134 138.8);
Tailwind
colors: {
  custom: {
    50: '#6c9457',
    500: '#2a6911',
    950: '#000000',
  },
}
SCSS
$custom: #2a6911;
$custom-light: #6c9457;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6911",
  "rgb": {
    "r": 42,
    "g": 105,
    "b": 17
  },
  "hsl": {
    "h": 102.955,
    "s": 72.131,
    "l": 23.922
  },
  "oklch": {
    "l": 0.4617,
    "c": 0.1342,
    "h": 138.8
  },
  "luminance": 0.10636
}

Semantic roles & 50–950 ramp

primary
#2A6911
secondary
#8235A1
accent
#39EFBB
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #2A6911

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

Preview Lab → · Contrast checker → · Palette generator →

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