#2B522C#2B522C

#2B522C is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.9% C 0.077 H 144.5°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2B522C
RGBrgb(43, 82, 44)
HSLhsl(122, 31%, 25%)
HSVhsv(122, 48%, 32%)
CMYKcmyk(47.6%, 0%, 46.3%, 67.8%)
CIE-LABlab(31.18, -22.93, 18.09)
CIE-LCHlch(31.18, 29.20, 141.73°)
OKLaboklab(39.89% -0.0624 0.0445)
OKLCHoklch(39.89% 0.077 144.5)
XYZxyz(4.4680, 6.7297, 3.4459)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B522C #522B51
analogous
#3E522B #2B522C #2B5240
triadic
#2B522C #2C2B52 #522C2B
tetradic
#2B522C #2B3E52 #522B51 #52402B
square
#2B522C #2B3E52 #522B51 #52402B
split-complementary
#2B522C #402B52 #522B3E
monochromatic
#0B140B #162A16 #2B522C #407A42 #55A257

Accessibility & contrast

On white

8.95
#2B522C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2B522C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B522C
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B522C#FFFFFF#000000##FFFFFF
##2B522C1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C29
Deuteranopia (green-blind)
#4E482E
Tritanopia (blue-blind)
#265049
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b522c;
/* rgb */ color: rgb(43, 82, 44);
/* oklch */ color: oklch(39.9% 0.077 144.5);
Tailwind
colors: {
  custom: {
    50: '#678365',
    500: '#2b522c',
    950: '#000000',
  },
}
SCSS
$custom: #2b522c;
$custom-light: #678365;
$custom-dark: #000000;
JSON
{
  "hex": "#2b522c",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 44
  },
  "hsl": {
    "h": 121.538,
    "s": 31.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.39886,
    "c": 0.07663,
    "h": 144.5
  },
  "luminance": 0.0673
}

Semantic roles & 50–950 ramp

primary
#2B522C
secondary
#845583
accent
#60C5C7
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A05
muted
#7A7C7A

Preview Lab

Preview with #2B522C

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

Preview Lab → · Contrast checker → · Palette generator →

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