#2D522E#2D522E

#2D522E is a dark, moderate green. Relative luminance 0.068; OKLCH L 40.0% C 0.073 H 144.6°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#2D522E
RGBrgb(45, 82, 46)
HSLhsl(122, 29%, 25%)
HSVhsv(122, 45%, 32%)
CMYKcmyk(45.1%, 0%, 43.9%, 67.8%)
CIE-LABlab(31.32, -21.87, 17.09)
CIE-LCHlch(31.32, 27.75, 141.99°)
OKLaboklab(40.04% -0.0595 0.0423)
OKLCHoklch(40.04% 0.073 144.6)
XYZxyz(4.5924, 6.7895, 3.6527)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D522E #522D51
analogous
#3E522D #2D522E #2D5241
triadic
#2D522E #2E2D52 #522E2D
tetradic
#2D522E #2D3E52 #522D51 #52412D
square
#2D522E #2D3E52 #522D51 #52412D
split-complementary
#2D522E #412D52 #522D3E
monochromatic
#0B140B #172A18 #2D522E #437A44 #58A15A

Accessibility & contrast

On white

8.91
#2D522E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2D522E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D522E
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D522E#FFFFFF#000000##FFFFFF
##2D522E1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C2B
Deuteranopia (green-blind)
#4E4830
Tritanopia (blue-blind)
#285049
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d522e;
/* rgb */ color: rgb(45, 82, 46);
/* oklch */ color: oklch(40.0% 0.073 144.6);
Tailwind
colors: {
  custom: {
    50: '#688367',
    500: '#2d522e',
    950: '#000000',
  },
}
SCSS
$custom: #2d522e;
$custom-light: #688367;
$custom-dark: #000000;
JSON
{
  "hex": "#2d522e",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 46
  },
  "hsl": {
    "h": 121.622,
    "s": 29.134,
    "l": 24.902
  },
  "oklch": {
    "l": 0.40039,
    "c": 0.073,
    "h": 144.6
  },
  "luminance": 0.0679
}

Semantic roles & 50–950 ramp

primary
#2D522E
secondary
#845783
accent
#62C3C5
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2D522E

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

Preview Lab → · Contrast checker → · Palette generator →

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