#2A6A11#2A6A11

#2A6A11 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.5% C 0.135 H 138.9°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#2A6A11
RGBrgb(42, 106, 17)
HSLhsl(103, 72%, 24%)
HSVhsv(103, 84%, 42%)
CMYKcmyk(60.4%, 0%, 84%, 58.4%)
CIE-LABlab(39.31, -37.03, 40.11)
CIE-LCHlch(39.31, 54.59, 132.71°)
OKLaboklab(46.46% -0.1021 0.089)
OKLCHoklch(46.46% 0.135 138.9)
XYZxyz(6.2098, 10.8402, 2.2953)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6A11 #51116A
analogous
#576A11 #2A6A11 #116A25
triadic
#2A6A11 #112A6A #6A112A
tetradic
#2A6A11 #11576A #51116A #6A2511
square
#2A6A11 #11576A #51116A #6A2511
split-complementary
#2A6A11 #25116A #6A1157
monochromatic
#0A1A04 #153509 #2A6A11 #3F9F19 #54D322

Accessibility & contrast

On white

6.63
#2A6A11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2A6A11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6A11
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6A11#FFFFFF#000000##FFFFFF
##2A6A111.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#655B1C
Tritanopia (blue-blind)
#23665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a6a11;
/* rgb */ color: rgb(42, 106, 17);
/* oklch */ color: oklch(46.5% 0.135 138.9);
Tailwind
colors: {
  custom: {
    50: '#6c9558',
    500: '#2a6a11',
    950: '#000000',
  },
}
SCSS
$custom: #2a6a11;
$custom-light: #6c9558;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6a11",
  "rgb": {
    "r": 42,
    "g": 106,
    "b": 17
  },
  "hsl": {
    "h": 103.146,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46459,
    "c": 0.13546,
    "h": 138.9
  },
  "luminance": 0.10841
}

Semantic roles & 50–950 ramp

primary
#2A6A11
secondary
#8335A2
accent
#39EFBC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A6A11

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

Preview Lab → · Contrast checker → · Palette generator →

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