#2A6711#2A6711

#2A6711 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.6% C 0.132 H 138.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#2A6711
RGBrgb(42, 103, 17)
HSLhsl(103, 72%, 24%)
HSVhsv(103, 83%, 40%)
CMYKcmyk(59.2%, 0%, 83.5%, 59.6%)
CIE-LABlab(38.26, -35.82, 39.12)
CIE-LCHlch(38.26, 53.05, 132.48°)
OKLaboklab(45.59% -0.0989 0.0869)
OKLCHoklch(45.59% 0.132 138.7)
XYZxyz(5.9060, 10.2327, 2.1941)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6711 #4E1167
analogous
#556711 #2A6711 #116723
triadic
#2A6711 #112A67 #67112A
tetradic
#2A6711 #115567 #4E1167 #672311
square
#2A6711 #115567 #4E1167 #672311
split-complementary
#2A6711 #231167 #671155
monochromatic
#0B1A04 #153208 #2A6711 #3F9C1A #55D022

Accessibility & contrast

On white

6.89
#2A6711 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2A6711 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6711
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6711#FFFFFF#000000##FFFFFF
##2A67111.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#63581B
Tritanopia (blue-blind)
#246357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a6711;
/* rgb */ color: rgb(42, 103, 17);
/* oklch */ color: oklch(45.6% 0.132 138.7);
Tailwind
colors: {
  custom: {
    50: '#6c9357',
    500: '#2a6711',
    950: '#000000',
  },
}
SCSS
$custom: #2a6711;
$custom-light: #6c9357;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6711",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 17
  },
  "hsl": {
    "h": 102.558,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.4559,
    "c": 0.13167,
    "h": 138.7
  },
  "luminance": 0.10233
}

Semantic roles & 50–950 ramp

primary
#2A6711
secondary
#80359F
accent
#39EEBA
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #2A6711

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

Preview Lab → · Contrast checker → · Palette generator →

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