#2A6020#2A6020

#2A6020 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.7% C 0.112 H 140.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2A6020
RGBrgb(42, 96, 32)
HSLhsl(111, 50%, 25%)
HSVhsv(111, 67%, 38%)
CMYKcmyk(56.3%, 0%, 66.7%, 62.4%)
CIE-LABlab(35.91, -31.56, 30.39)
CIE-LCHlch(35.91, 43.81, 136.08°)
OKLaboklab(43.69% -0.0864 0.0707)
OKLCHoklch(43.69% 0.112 140.7)
XYZxyz(5.3982, 8.9618, 2.8116)
Luminance0.0896 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6020 #562060
analogous
#4A6020 #2A6020 #206036
triadic
#2A6020 #202A60 #60202A
tetradic
#2A6020 #204A60 #562060 #603620
square
#2A6020 #204A60 #562060 #603620
split-complementary
#2A6020 #362060 #60204A
monochromatic
#0A1708 #163211 #2A6020 #3E8E2F #52BC3F

Accessibility & contrast

On white

7.52
#2A6020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2A6020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A6020
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6020#FFFFFF#000000##FFFFFF
##2A60201.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635719
Deuteranopia (green-blind)
#5C5325
Tritanopia (blue-blind)
#245D52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a6020;
/* rgb */ color: rgb(42, 96, 32);
/* oklch */ color: oklch(43.7% 0.112 140.7);
Tailwind
colors: {
  custom: {
    50: '#698e5e',
    500: '#2a6020',
    950: '#000000',
  },
}
SCSS
$custom: #2a6020;
$custom-light: #698e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6020",
  "rgb": {
    "r": 42,
    "g": 96,
    "b": 32
  },
  "hsl": {
    "h": 110.625,
    "s": 50,
    "l": 25.098
  },
  "oklch": {
    "l": 0.43694,
    "c": 0.11164,
    "h": 140.7
  },
  "luminance": 0.08962
}

Semantic roles & 50–950 ramp

primary
#2A6020
secondary
#884794
accent
#4EDAC4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2A6020

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

Preview Lab → · Contrast checker → · Palette generator →

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