#2B522D#2B522D

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

Color values

HEX#2B522D
RGBrgb(43, 82, 45)
HSLhsl(123, 31%, 25%)
HSVhsv(123, 48%, 32%)
CMYKcmyk(47.6%, 0%, 45.1%, 67.8%)
CIE-LABlab(31.20, -22.75, 17.51)
CIE-LCHlch(31.20, 28.71, 142.41°)
OKLaboklab(39.91% -0.0619 0.0432)
OKLCHoklch(39.91% 0.075 145.1)
XYZxyz(4.4870, 6.7373, 3.5461)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B522D #522B50
analogous
#3D522B #2B522D #2B5241
triadic
#2B522D #2D2B52 #522D2B
tetradic
#2B522D #2B3D52 #522B50 #52412B
square
#2B522D #2B3D52 #522B50 #52412B
split-complementary
#2B522D #412B52 #522B3D
monochromatic
#0B140B #162A17 #2B522D #407A43 #55A259

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B522D#FFFFFF#000000##FFFFFF
##2B522D1.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)
#534C2A
Deuteranopia (green-blind)
#4E482F
Tritanopia (blue-blind)
#265049
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b522d;
/* rgb */ color: rgb(43, 82, 45);
/* oklch */ color: oklch(39.9% 0.075 145.1);
Tailwind
colors: {
  custom: {
    50: '#678366',
    500: '#2b522d',
    950: '#000000',
  },
}
SCSS
$custom: #2b522d;
$custom-light: #678366;
$custom-dark: #000000;
JSON
{
  "hex": "#2b522d",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 45
  },
  "hsl": {
    "h": 123.077,
    "s": 31.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.39906,
    "c": 0.07548,
    "h": 145.1
  },
  "luminance": 0.06738
}

Semantic roles & 50–950 ramp

primary
#2B522D
secondary
#845582
accent
#60C2C7
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2B522D

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

Preview Lab → · Contrast checker → · Palette generator →

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