#2D541E#2D541E

#2D541E is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.3% C 0.094 H 138.0°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#2D541E
RGBrgb(45, 84, 30)
HSLhsl(103, 47%, 22%)
HSVhsv(103, 64%, 33%)
CMYKcmyk(46.4%, 0%, 64.3%, 67.1%)
CIE-LABlab(31.79, -25.28, 26.78)
CIE-LCHlch(31.79, 36.83, 133.35°)
OKLaboklab(40.34% -0.0696 0.0628)
OKLCHoklch(40.34% 0.094 138)
XYZxyz(4.4867, 6.9920, 2.3412)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D541E #451E54
analogous
#48541E #2D541E #1E542A
triadic
#2D541E #1E2D54 #541E2D
tetradic
#2D541E #1E4854 #451E54 #542A1E
square
#2D541E #1E4854 #451E54 #542A1E
split-complementary
#2D541E #2A1E54 #541E48
monochromatic
#0C1708 #15270E #2D541E #45812E #5DAE3E

Accessibility & contrast

On white

8.76
#2D541E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D541E
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D541E#FFFFFF#000000##FFFFFF
##2D541E1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d541e;
/* rgb */ color: rgb(45, 84, 30);
/* oklch */ color: oklch(40.3% 0.094 138.0);
Tailwind
colors: {
  custom: {
    50: '#69845c',
    500: '#2d541e',
    950: '#000000',
  },
}
SCSS
$custom: #2d541e;
$custom-light: #69845c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d541e",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 30
  },
  "hsl": {
    "h": 103.333,
    "s": 47.368,
    "l": 22.353
  },
  "oklch": {
    "l": 0.40342,
    "c": 0.09375,
    "h": 138
  },
  "luminance": 0.06992
}

Semantic roles & 50–950 ramp

primary
#2D541E
secondary
#764589
accent
#51D7B2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2D541E

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

Preview Lab → · Contrast checker → · Palette generator →

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