#2A6611#2A6611

#2A6611 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.3% C 0.130 H 138.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2A6611
RGBrgb(42, 102, 17)
HSLhsl(102, 71%, 23%)
HSVhsv(102, 83%, 40%)
CMYKcmyk(58.8%, 0%, 83.3%, 60%)
CIE-LABlab(37.91, -35.42, 38.79)
CIE-LCHlch(37.91, 52.53, 132.40°)
OKLaboklab(45.3% -0.0978 0.0862)
OKLCHoklch(45.3% 0.13 138.6)
XYZxyz(5.8072, 10.0350, 2.1611)
Luminance0.1003 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6611 #4D1166
analogous
#546611 #2A6611 #116622
triadic
#2A6611 #112A66 #66112A
tetradic
#2A6611 #115466 #4D1166 #662211
square
#2A6611 #115466 #4D1166 #662211
split-complementary
#2A6611 #221166 #661154
monochromatic
#0B1A04 #143208 #2A6611 #409A1A #55CF22

Accessibility & contrast

On white

6.98
#2A6611 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2A6611 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6611
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6611#FFFFFF#000000##FFFFFF
##2A66111.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#62571B
Tritanopia (blue-blind)
#246256
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a6611;
/* rgb */ color: rgb(42, 102, 17);
/* oklch */ color: oklch(45.3% 0.130 138.6);
Tailwind
colors: {
  custom: {
    50: '#6b9257',
    500: '#2a6611',
    950: '#000000',
  },
}
SCSS
$custom: #2a6611;
$custom-light: #6b9257;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6611",
  "rgb": {
    "r": 42,
    "g": 102,
    "b": 17
  },
  "hsl": {
    "h": 102.353,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45299,
    "c": 0.13039,
    "h": 138.6
  },
  "luminance": 0.10035
}

Semantic roles & 50–950 ramp

primary
#2A6611
secondary
#7F359E
accent
#3AEEB9
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #2A6611

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

Preview Lab → · Contrast checker → · Palette generator →

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