#2A5620#2A5620

#2A5620 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.8% C 0.097 H 140.0°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#2A5620
RGBrgb(42, 86, 32)
HSLhsl(109, 46%, 23%)
HSVhsv(109, 63%, 34%)
CMYKcmyk(51.2%, 0%, 62.8%, 66.3%)
CIE-LABlab(32.37, -27.05, 26.36)
CIE-LCHlch(32.37, 37.77, 135.74°)
OKLaboklab(40.79% -0.0741 0.0621)
OKLCHoklch(40.79% 0.097 140)
XYZxyz(4.5432, 7.2518, 2.5266)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5620 #4C2056
analogous
#455620 #2A5620 #205631
triadic
#2A5620 #202A56 #56202A
tetradic
#2A5620 #204556 #4C2056 #563120
square
#2A5620 #204556 #4C2056 #563120
split-complementary
#2A5620 #312056 #562045
monochromatic
#0B1608 #14290F #2A5620 #408331 #56AF41

Accessibility & contrast

On white

8.57
#2A5620 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2A5620 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5620
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5620#FFFFFF#000000##FFFFFF
##2A56201.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F1A
Deuteranopia (green-blind)
#524B24
Tritanopia (blue-blind)
#26534A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a5620;
/* rgb */ color: rgb(42, 86, 32);
/* oklch */ color: oklch(40.8% 0.097 140.0);
Tailwind
colors: {
  custom: {
    50: '#68865d',
    500: '#2a5620',
    950: '#000000',
  },
}
SCSS
$custom: #2a5620;
$custom-light: #68865d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5620",
  "rgb": {
    "r": 42,
    "g": 86,
    "b": 32
  },
  "hsl": {
    "h": 108.889,
    "s": 45.763,
    "l": 23.137
  },
  "oklch": {
    "l": 0.40788,
    "c": 0.0967,
    "h": 140
  },
  "luminance": 0.07252
}

Semantic roles & 50–950 ramp

primary
#2A5620
secondary
#7E478B
accent
#52D5BD
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2A5620

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

Preview Lab → · Contrast checker → · Palette generator →

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