#2D522D#2D522D

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

Color values

HEX#2D522D
RGBrgb(45, 82, 45)
HSLhsl(120, 29%, 25%)
HSVhsv(120, 45%, 32%)
CMYKcmyk(45.1%, 0%, 45.1%, 67.8%)
CIE-LABlab(31.30, -22.05, 17.67)
CIE-LCHlch(31.30, 28.25, 141.29°)
OKLaboklab(40.02% -0.06 0.0436)
OKLCHoklch(40.02% 0.074 144)
XYZxyz(4.5729, 6.7817, 3.5501)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D522D #522D52
analogous
#40522D #2D522D #2D5240
triadic
#2D522D #2D2D52 #522D2D
tetradic
#2D522D #2D4052 #522D52 #52402D
square
#2D522D #2D4052 #522D52 #52402D
split-complementary
#2D522D #402D52 #522D40
monochromatic
#0B140B #172A17 #2D522D #437A43 #58A158

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D522D#FFFFFF#000000##FFFFFF
##2D522D1.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)
#534C2A
Deuteranopia (green-blind)
#4E482F
Tritanopia (blue-blind)
#295049
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d522d;
/* rgb */ color: rgb(45, 82, 45);
/* oklch */ color: oklch(40.0% 0.074 144.0);
Tailwind
colors: {
  custom: {
    50: '#688366',
    500: '#2d522d',
    950: '#000000',
  },
}
SCSS
$custom: #2d522d;
$custom-light: #688366;
$custom-dark: #000000;
JSON
{
  "hex": "#2d522d",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 29.134,
    "l": 24.902
  },
  "oklch": {
    "l": 0.40019,
    "c": 0.07417,
    "h": 144
  },
  "luminance": 0.06782
}

Semantic roles & 50–950 ramp

primary
#2D522D
secondary
#845784
accent
#62C5C5
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2D522D

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

Preview Lab → · Contrast checker → · Palette generator →

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