#2D561F#2D561F

#2D561F is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.9% C 0.096 H 138.5°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#2D561F
RGBrgb(45, 86, 31)
HSLhsl(105, 47%, 23%)
HSVhsv(105, 64%, 34%)
CMYKcmyk(47.7%, 0%, 64%, 66.3%)
CIE-LABlab(32.51, -26.12, 27.08)
CIE-LCHlch(32.51, 37.62, 133.97°)
OKLaboklab(40.93% -0.0718 0.0635)
OKLCHoklch(40.93% 0.096 138.5)
XYZxyz(4.6571, 7.3121, 2.4620)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D561F #481F56
analogous
#48561F #2D561F #1F562C
triadic
#2D561F #1F2D56 #561F2D
tetradic
#2D561F #1F4856 #481F56 #562C1F
square
#2D561F #1F4856 #481F56 #562C1F
split-complementary
#2D561F #2C1F56 #561F48
monochromatic
#0C1608 #15290F #2D561F #45832F #5CB03F

Accessibility & contrast

On white

8.53
#2D561F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2D561F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D561F
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D561F#FFFFFF#000000##FFFFFF
##2D561F1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F19
Deuteranopia (green-blind)
#534B23
Tritanopia (blue-blind)
#2A534A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d561f;
/* rgb */ color: rgb(45, 86, 31);
/* oklch */ color: oklch(40.9% 0.096 138.5);
Tailwind
colors: {
  custom: {
    50: '#6a865d',
    500: '#2d561f',
    950: '#000000',
  },
}
SCSS
$custom: #2d561f;
$custom-light: #6a865d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d561f",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 31
  },
  "hsl": {
    "h": 104.727,
    "s": 47.009,
    "l": 22.941
  },
  "oklch": {
    "l": 0.40934,
    "c": 0.0959,
    "h": 138.5
  },
  "luminance": 0.07312
}

Semantic roles & 50–950 ramp

primary
#2D561F
secondary
#79468B
accent
#51D7B5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2D561F

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

Preview Lab → · Contrast checker → · Palette generator →

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