#2D5220#2D5220

#2D5220 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.8% C 0.089 H 138.3°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#2D5220
RGBrgb(45, 82, 32)
HSLhsl(104, 44%, 22%)
HSVhsv(104, 61%, 32%)
CMYKcmyk(45.1%, 0%, 61%, 67.8%)
CIE-LABlab(31.11, -24.06, 24.92)
CIE-LCHlch(31.11, 34.63, 133.99°)
OKLaboklab(39.79% -0.0661 0.059)
OKLCHoklch(39.79% 0.089 138.3)
XYZxyz(4.3600, 6.6965, 2.4290)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5220 #452052
analogous
#465220 #2D5220 #20522C
triadic
#2D5220 #202D52 #52202D
tetradic
#2D5220 #204652 #452052 #522C20
square
#2D5220 #204652 #452052 #522C20
split-complementary
#2D5220 #2C2052 #522046
monochromatic
#0C1609 #15260F #2D5220 #457E31 #5DAA42

Accessibility & contrast

On white

8.98
#2D5220 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2D5220 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5220
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5220#FFFFFF#000000##FFFFFF
##2D52201.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B1B
Deuteranopia (green-blind)
#4F4824
Tritanopia (blue-blind)
#2B4F47
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d5220;
/* rgb */ color: rgb(45, 82, 32);
/* oklch */ color: oklch(39.8% 0.089 138.3);
Tailwind
colors: {
  custom: {
    50: '#69835d',
    500: '#2d5220',
    950: '#000000',
  },
}
SCSS
$custom: #2d5220;
$custom-light: #69835d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5220",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 32
  },
  "hsl": {
    "h": 104.4,
    "s": 43.86,
    "l": 22.353
  },
  "oklch": {
    "l": 0.39792,
    "c": 0.0886,
    "h": 138.3
  },
  "luminance": 0.06697
}

Semantic roles & 50–950 ramp

primary
#2D5220
secondary
#764786
accent
#54D4B2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2D5220

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

Preview Lab → · Contrast checker → · Palette generator →

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