#2A6C11#2A6C11

#2A6C11 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.0% C 0.138 H 139.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#2A6C11
RGBrgb(42, 108, 17)
HSLhsl(104, 73%, 25%)
HSVhsv(104, 84%, 42%)
CMYKcmyk(61.1%, 0%, 84.3%, 57.6%)
CIE-LABlab(40.01, -37.82, 40.77)
CIE-LCHlch(40.01, 55.61, 132.85°)
OKLaboklab(47.04% -0.1042 0.0904)
OKLCHoklch(47.04% 0.138 139.1)
XYZxyz(6.4183, 11.2573, 2.3648)
Luminance0.1126 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6C11 #53116C
analogous
#586C11 #2A6C11 #116C25
triadic
#2A6C11 #112A6C #6C112A
tetradic
#2A6C11 #11586C #53116C #6C2511
square
#2A6C11 #11586C #53116C #6C2511
split-complementary
#2A6C11 #25116C #6C1158
monochromatic
#0A1A04 #153709 #2A6C11 #3FA119 #53D622

Accessibility & contrast

On white

6.46
#2A6C11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2A6C11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6C11
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6C11#FFFFFF#000000##FFFFFF
##2A6C111.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6200
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#23685B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2a6c11;
/* rgb */ color: rgb(42, 108, 17);
/* oklch */ color: oklch(47.0% 0.138 139.1);
Tailwind
colors: {
  custom: {
    50: '#6d9758',
    500: '#2a6c11',
    950: '#000000',
  },
}
SCSS
$custom: #2a6c11;
$custom-light: #6d9758;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6c11",
  "rgb": {
    "r": 42,
    "g": 108,
    "b": 17
  },
  "hsl": {
    "h": 103.516,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47038,
    "c": 0.13796,
    "h": 139.1
  },
  "luminance": 0.11258
}

Semantic roles & 50–950 ramp

primary
#2A6C11
secondary
#8535A4
accent
#38EFBD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2A6C11

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

Preview Lab → · Contrast checker → · Palette generator →

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