#2A6111#2A6111

#2A6111 is a dark, vivid green. Relative luminance 0.091; OKLCH L 43.8% C 0.124 H 138.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#2A6111
RGBrgb(42, 97, 17)
HSLhsl(101, 70%, 22%)
HSVhsv(101, 82%, 38%)
CMYKcmyk(56.7%, 0%, 82.5%, 62%)
CIE-LABlab(36.14, -33.36, 37.11)
CIE-LCHlch(36.14, 49.90, 131.95°)
OKLaboklab(43.84% -0.0923 0.0827)
OKLCHoklch(43.84% 0.124 138.1)
XYZxyz(5.3305, 9.0817, 2.0022)
Luminance0.0908 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6111 #481161
analogous
#526111 #2A6111 #116120
triadic
#2A6111 #112A61 #61112A
tetradic
#2A6111 #115261 #481161 #612011
square
#2A6111 #115261 #481161 #612011
split-complementary
#2A6111 #201161 #611152
monochromatic
#0B1A05 #132D08 #2A6111 #41951A #57C923

Accessibility & contrast

On white

7.46
#2A6111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2A6111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A6111
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6111#FFFFFF#000000##FFFFFF
##2A61111.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645800
Deuteranopia (green-blind)
#5D531A
Tritanopia (blue-blind)
#255D52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2a6111;
/* rgb */ color: rgb(42, 97, 17);
/* oklch */ color: oklch(43.8% 0.124 138.1);
Tailwind
colors: {
  custom: {
    50: '#6a8e56',
    500: '#2a6111',
    950: '#000000',
  },
}
SCSS
$custom: #2a6111;
$custom-light: #6a8e56;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6111",
  "rgb": {
    "r": 42,
    "g": 97,
    "b": 17
  },
  "hsl": {
    "h": 101.25,
    "s": 70.175,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43844,
    "c": 0.12392,
    "h": 138.1
  },
  "luminance": 0.09082
}

Semantic roles & 50–950 ramp

primary
#2A6111
secondary
#7A3499
accent
#3BEDB5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A6111

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

Preview Lab → · Contrast checker → · Palette generator →

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