#2B522A#2B522A

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

Color values

HEX#2B522A
RGBrgb(43, 82, 42)
HSLhsl(119, 32%, 24%)
HSVhsv(119, 49%, 32%)
CMYKcmyk(47.6%, 0%, 48.8%, 67.8%)
CIE-LABlab(31.15, -23.27, 19.23)
CIE-LCHlch(31.15, 30.19, 140.43°)
OKLaboklab(39.85% -0.0634 0.047)
OKLCHoklch(39.85% 0.079 143.4)
XYZxyz(4.4313, 6.7151, 3.2527)
Luminance0.0672 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B522A #512A52
analogous
#3F522A #2B522A #2A523D
triadic
#2B522A #2A2B52 #522A2B
tetradic
#2B522A #2A3F52 #512A52 #523D2A
square
#2B522A #2A3F52 #512A52 #523D2A
split-complementary
#2B522A #3D2A52 #522A3F
monochromatic
#0B140A #162A15 #2B522A #407A3F #55A353

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B522A#FFFFFF#000000##FFFFFF
##2B522A1.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)
#544C27
Deuteranopia (green-blind)
#4E482D
Tritanopia (blue-blind)
#265048
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b522a;
/* rgb */ color: rgb(43, 82, 42);
/* oklch */ color: oklch(39.8% 0.079 143.4);
Tailwind
colors: {
  custom: {
    50: '#678364',
    500: '#2b522a',
    950: '#000000',
  },
}
SCSS
$custom: #2b522a;
$custom-light: #678364;
$custom-dark: #000000;
JSON
{
  "hex": "#2b522a",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 42
  },
  "hsl": {
    "h": 118.5,
    "s": 32.258,
    "l": 24.314
  },
  "oklch": {
    "l": 0.39847,
    "c": 0.07893,
    "h": 143.4
  },
  "luminance": 0.06715
}

Semantic roles & 50–950 ramp

primary
#2B522A
secondary
#835484
accent
#5FC8C6
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A05
muted
#7A7C7A

Preview Lab

Preview with #2B522A

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

Preview Lab → · Contrast checker → · Palette generator →

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