#2D541F#2D541F

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

Color values

HEX#2D541F
RGBrgb(45, 84, 31)
HSLhsl(104, 46%, 23%)
HSVhsv(104, 63%, 33%)
CMYKcmyk(46.4%, 0%, 63.1%, 67.1%)
CIE-LABlab(31.80, -25.16, 26.26)
CIE-LCHlch(31.80, 36.37, 133.77°)
OKLaboklab(40.36% -0.0692 0.0618)
OKLCHoklch(40.36% 0.093 138.3)
XYZxyz(4.4997, 6.9972, 2.4096)
Luminance0.0700 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D541F #461F54
analogous
#47541F #2D541F #1F542B
triadic
#2D541F #1F2D54 #541F2D
tetradic
#2D541F #1F4754 #461F54 #542B1F
square
#2D541F #1F4754 #461F54 #542B1F
split-complementary
#2D541F #2B1F54 #541F47
monochromatic
#0C1608 #15270F #2D541F #45812F #5DAD40

Accessibility & contrast

On white

8.75
#2D541F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2D541F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D541F
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D541F#FFFFFF#000000##FFFFFF
##2D541F1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D1A
Deuteranopia (green-blind)
#514A23
Tritanopia (blue-blind)
#2B5148
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d541f;
/* rgb */ color: rgb(45, 84, 31);
/* oklch */ color: oklch(40.4% 0.093 138.3);
Tailwind
colors: {
  custom: {
    50: '#69845d',
    500: '#2d541f',
    950: '#000000',
  },
}
SCSS
$custom: #2d541f;
$custom-light: #69845d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d541f",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 31
  },
  "hsl": {
    "h": 104.151,
    "s": 46.087,
    "l": 22.549
  },
  "oklch": {
    "l": 0.40356,
    "c": 0.09278,
    "h": 138.3
  },
  "luminance": 0.06997
}

Semantic roles & 50–950 ramp

primary
#2D541F
secondary
#774689
accent
#52D6B3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2D541F

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

Preview Lab → · Contrast checker → · Palette generator →

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