#2D5331#2D5331

#2D5331 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.4% C 0.071 H 146.5°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#2D5331
RGBrgb(45, 83, 49)
HSLhsl(126, 30%, 25%)
HSVhsv(126, 46%, 33%)
CMYKcmyk(45.8%, 0%, 41%, 67.5%)
CIE-LABlab(31.73, -21.82, 15.80)
CIE-LCHlch(31.73, 26.94, 144.09°)
OKLaboklab(40.39% -0.0594 0.0393)
OKLCHoklch(40.39% 0.071 146.5)
XYZxyz(4.7296, 6.9659, 4.0005)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5331 #532D4F
analogous
#3C532D #2D5331 #2D5344
triadic
#2D5331 #312D53 #53312D
tetradic
#2D5331 #2D3C53 #532D4F #53442D
square
#2D5331 #2D3C53 #532D4F #53442D
split-complementary
#2D5331 #442D53 #532D3C
monochromatic
#0B140C #172B1A #2D5331 #437B48 #58A260

Accessibility & contrast

On white

8.77
#2D5331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2D5331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5331
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5331#FFFFFF#000000##FFFFFF
##2D53311.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D2F
Deuteranopia (green-blind)
#4E4933
Tritanopia (blue-blind)
#28514A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d5331;
/* rgb */ color: rgb(45, 83, 49);
/* oklch */ color: oklch(40.4% 0.071 146.5);
Tailwind
colors: {
  custom: {
    50: '#688369',
    500: '#2d5331',
    950: '#000000',
  },
}
SCSS
$custom: #2d5331;
$custom-light: #688369;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5331",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 49
  },
  "hsl": {
    "h": 126.316,
    "s": 29.688,
    "l": 25.098
  },
  "oklch": {
    "l": 0.40389,
    "c": 0.07124,
    "h": 146.5
  },
  "luminance": 0.06966
}

Semantic roles & 50–950 ramp

primary
#2D5331
secondary
#855780
accent
#62BBC6
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2D5331

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

Preview Lab → · Contrast checker → · Palette generator →

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