#2D522C#2D522C

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

Color values

HEX#2D522C
RGBrgb(45, 82, 44)
HSLhsl(118, 30%, 25%)
HSVhsv(118, 46%, 32%)
CMYKcmyk(45.1%, 0%, 46.3%, 67.8%)
CIE-LABlab(31.29, -22.22, 18.24)
CIE-LCHlch(31.29, 28.75, 140.62°)
OKLaboklab(40% -0.0605 0.0449)
OKLCHoklch(40% 0.075 143.5)
XYZxyz(4.5539, 6.7740, 3.4499)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D522C #512C52
analogous
#40522C #2D522C #2C523E
triadic
#2D522C #2C2D52 #522C2D
tetradic
#2D522C #2C4052 #512C52 #523E2C
square
#2D522C #2C4052 #512C52 #523E2C
split-complementary
#2D522C #3E2C52 #522C40
monochromatic
#0B140B #172A17 #2D522C #437A41 #59A257

Accessibility & contrast

On white

8.92
#2D522C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D522C
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D522C#FFFFFF#000000##FFFFFF
##2D522C1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544C29
Deuteranopia (green-blind)
#4E482E
Tritanopia (blue-blind)
#295049
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d522c;
/* rgb */ color: rgb(45, 82, 44);
/* oklch */ color: oklch(40.0% 0.075 143.5);
Tailwind
colors: {
  custom: {
    50: '#688365',
    500: '#2d522c',
    950: '#000000',
  },
}
SCSS
$custom: #2d522c;
$custom-light: #688365;
$custom-dark: #000000;
JSON
{
  "hex": "#2d522c",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 44
  },
  "hsl": {
    "h": 118.421,
    "s": 30.159,
    "l": 24.706
  },
  "oklch": {
    "l": 0.39999,
    "c": 0.07534,
    "h": 143.5
  },
  "luminance": 0.06774
}

Semantic roles & 50–950 ramp

primary
#2D522C
secondary
#835684
accent
#61C6C4
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A05
muted
#7A7C7A

Preview Lab

Preview with #2D522C

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

Preview Lab → · Contrast checker → · Palette generator →

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