#2D522B#2D522B

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

Color values

HEX#2D522B
RGBrgb(45, 82, 43)
HSLhsl(117, 31%, 25%)
HSVhsv(117, 48%, 32%)
CMYKcmyk(45.1%, 0%, 47.6%, 67.8%)
CIE-LABlab(31.27, -22.39, 18.82)
CIE-LCHlch(31.27, 29.25, 139.96°)
OKLaboklab(39.98% -0.061 0.0461)
OKLCHoklch(39.98% 0.077 142.9)
XYZxyz(4.5353, 6.7666, 3.3521)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D522B #502B52
analogous
#41522B #2D522B #2B523D
triadic
#2D522B #2B2D52 #522B2D
tetradic
#2D522B #2B4152 #502B52 #523D2B
square
#2D522B #2B4152 #502B52 #523D2B
split-complementary
#2D522B #3D2B52 #522B41
monochromatic
#0B140B #172A16 #2D522B #437A40 #59A255

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D522B#FFFFFF#000000##FFFFFF
##2D522B1.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)
#544C28
Deuteranopia (green-blind)
#4E482D
Tritanopia (blue-blind)
#295049
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d522b;
/* rgb */ color: rgb(45, 82, 43);
/* oklch */ color: oklch(40.0% 0.076 142.9);
Tailwind
colors: {
  custom: {
    50: '#688365',
    500: '#2d522b',
    950: '#000000',
  },
}
SCSS
$custom: #2d522b;
$custom-light: #688365;
$custom-dark: #000000;
JSON
{
  "hex": "#2d522b",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 43
  },
  "hsl": {
    "h": 116.923,
    "s": 31.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.39979,
    "c": 0.0765,
    "h": 142.9
  },
  "luminance": 0.06767
}

Semantic roles & 50–950 ramp

primary
#2D522B
secondary
#825584
accent
#60C7C2
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A05
muted
#7A7C7A

Preview Lab

Preview with #2D522B

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

Preview Lab → · Contrast checker → · Palette generator →

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