#2A5522#2A5522

#2A5522 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.5% C 0.093 H 140.6°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#2A5522
RGBrgb(42, 85, 34)
HSLhsl(111, 43%, 23%)
HSVhsv(111, 60%, 33%)
CMYKcmyk(50.6%, 0%, 60%, 66.7%)
CIE-LABlab(32.04, -26.31, 24.89)
CIE-LCHlch(32.04, 36.22, 136.59°)
OKLaboklab(40.53% -0.072 0.0591)
OKLCHoklch(40.53% 0.093 140.6)
XYZxyz(4.4919, 7.1044, 2.6477)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5522 #4D2255
analogous
#435522 #2A5522 #225533
triadic
#2A5522 #222A55 #55222A
tetradic
#2A5522 #224355 #4D2255 #553322
square
#2A5522 #224355 #4D2255 #553322
split-complementary
#2A5522 #332255 #552243
monochromatic
#0B1609 #142911 #2A5522 #408133 #55AC45

Accessibility & contrast

On white

8.67
#2A5522 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2A5522 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5522
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5522#FFFFFF#000000##FFFFFF
##2A55221.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E1D
Deuteranopia (green-blind)
#514A26
Tritanopia (blue-blind)
#26524A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a5522;
/* rgb */ color: rgb(42, 85, 34);
/* oklch */ color: oklch(40.5% 0.093 140.6);
Tailwind
colors: {
  custom: {
    50: '#67855f',
    500: '#2a5522',
    950: '#000000',
  },
}
SCSS
$custom: #2a5522;
$custom-light: #67855f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5522",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 34
  },
  "hsl": {
    "h": 110.588,
    "s": 42.857,
    "l": 23.333
  },
  "oklch": {
    "l": 0.40526,
    "c": 0.09314,
    "h": 140.6
  },
  "luminance": 0.07105
}

Semantic roles & 50–950 ramp

primary
#2A5522
secondary
#7F4A89
accent
#55D3BF
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2A5522

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

Preview Lab → · Contrast checker → · Palette generator →

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