#2B522B#2B522B

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

Color values

HEX#2B522B
RGBrgb(43, 82, 43)
HSLhsl(120, 31%, 25%)
HSVhsv(120, 48%, 32%)
CMYKcmyk(47.6%, 0%, 47.6%, 67.8%)
CIE-LABlab(31.17, -23.10, 18.66)
CIE-LCHlch(31.17, 29.70, 141.07°)
OKLaboklab(39.87% -0.0629 0.0458)
OKLCHoklch(39.87% 0.078 143.9)
XYZxyz(4.4494, 6.7223, 3.3481)
Luminance0.0672 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B522B #522B52
analogous
#3F522B #2B522B #2B523F
triadic
#2B522B #2B2B52 #522B2B
tetradic
#2B522B #2B3F52 #522B52 #523F2B
square
#2B522B #2B3F52 #522B52 #523F2B
split-complementary
#2B522B #3F2B52 #522B3F
monochromatic
#0B140B #162A16 #2B522B #407A40 #55A255

Accessibility & contrast

On white

8.96
#2B522B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2B522B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B522B
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B522B#FFFFFF#000000##FFFFFF
##2B522B1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b522b;
/* rgb */ color: rgb(43, 82, 43);
/* oklch */ color: oklch(39.9% 0.078 143.9);
Tailwind
colors: {
  custom: {
    50: '#678365',
    500: '#2b522b',
    950: '#000000',
  },
}
SCSS
$custom: #2b522b;
$custom-light: #678365;
$custom-dark: #000000;
JSON
{
  "hex": "#2b522b",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 43
  },
  "hsl": {
    "h": 120,
    "s": 31.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.39866,
    "c": 0.07779,
    "h": 143.9
  },
  "luminance": 0.06723
}

Semantic roles & 50–950 ramp

primary
#2B522B
secondary
#845584
accent
#60C7C7
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A05
muted
#7A7C7A

Preview Lab

Preview with #2B522B

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

Preview Lab → · Contrast checker → · Palette generator →

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