#2A6322#2A6322

#2A6322 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.6% C 0.114 H 141.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#2A6322
RGBrgb(42, 99, 34)
HSLhsl(113, 49%, 26%)
HSVhsv(113, 66%, 39%)
CMYKcmyk(57.6%, 0%, 65.7%, 61.2%)
CIE-LABlab(36.99, -32.62, 30.60)
CIE-LCHlch(36.99, 44.73, 136.83°)
OKLaboklab(44.59% -0.0891 0.0714)
OKLCHoklch(44.59% 0.114 141.3)
XYZxyz(5.7052, 9.5309, 3.0521)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6322 #5B2263
analogous
#4A6322 #2A6322 #22633A
triadic
#2A6322 #222A63 #63222A
tetradic
#2A6322 #224A63 #5B2263 #633A22
square
#2A6322 #224A63 #5B2263 #633A22
split-complementary
#2A6322 #3A2263 #63224A
monochromatic
#0A1708 #173512 #2A6322 #3D9132 #51BE41

Accessibility & contrast

On white

7.23
#2A6322 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2A6322 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A6322
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6322#FFFFFF#000000##FFFFFF
##2A63221.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A1B
Deuteranopia (green-blind)
#5E5527
Tritanopia (blue-blind)
#236055
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a6322;
/* rgb */ color: rgb(42, 99, 34);
/* oklch */ color: oklch(44.6% 0.114 141.3);
Tailwind
colors: {
  custom: {
    50: '#6a9060',
    500: '#2a6322',
    950: '#000000',
  },
}
SCSS
$custom: #2a6322;
$custom-light: #6a9060;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6322",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 34
  },
  "hsl": {
    "h": 112.615,
    "s": 48.872,
    "l": 26.078
  },
  "oklch": {
    "l": 0.44586,
    "c": 0.11422,
    "h": 141.3
  },
  "luminance": 0.09531
}

Semantic roles & 50–950 ramp

primary
#2A6322
secondary
#8D4A97
accent
#4FD8C8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2A6322

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

Preview Lab → · Contrast checker → · Palette generator →

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