#2D522F#2D522F

#2D522F is a dark, moderate green. Relative luminance 0.068; OKLCH L 40.1% C 0.072 H 145.3°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#2D522F
RGBrgb(45, 82, 47)
HSLhsl(123, 29%, 25%)
HSVhsv(123, 45%, 32%)
CMYKcmyk(45.1%, 0%, 42.7%, 67.8%)
CIE-LABlab(31.34, -21.68, 16.51)
CIE-LCHlch(31.34, 27.25, 142.72°)
OKLaboklab(40.06% -0.059 0.0409)
OKLCHoklch(40.06% 0.072 145.3)
XYZxyz(4.6123, 6.7974, 3.7578)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D522F #522D50
analogous
#3E522D #2D522F #2D5241
triadic
#2D522F #2F2D52 #522F2D
tetradic
#2D522F #2D3E52 #522D50 #52412D
square
#2D522F #2D3E52 #522D50 #52412D
split-complementary
#2D522F #412D52 #522D3E
monochromatic
#0B140B #172A18 #2D522F #437A46 #58A15C

Accessibility & contrast

On white

8.90
#2D522F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D522F
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D522F#FFFFFF#000000##FFFFFF
##2D522F1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d522f;
/* rgb */ color: rgb(45, 82, 47);
/* oklch */ color: oklch(40.1% 0.072 145.3);
Tailwind
colors: {
  custom: {
    50: '#688368',
    500: '#2d522f',
    950: '#000000',
  },
}
SCSS
$custom: #2d522f;
$custom-light: #688368;
$custom-dark: #000000;
JSON
{
  "hex": "#2d522f",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 47
  },
  "hsl": {
    "h": 123.243,
    "s": 29.134,
    "l": 24.902
  },
  "oklch": {
    "l": 0.40061,
    "c": 0.07182,
    "h": 145.3
  },
  "luminance": 0.06798
}

Semantic roles & 50–950 ramp

primary
#2D522F
secondary
#845781
accent
#62C0C5
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2D522F

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

Preview Lab → · Contrast checker → · Palette generator →

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