#2D561B#2D561B

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

Color values

HEX#2D561B
RGBrgb(45, 86, 27)
HSLhsl(102, 52%, 22%)
HSVhsv(102, 69%, 34%)
CMYKcmyk(47.7%, 0%, 68.6%, 66.3%)
CIE-LABlab(32.46, -26.58, 29.07)
CIE-LCHlch(32.46, 39.39, 132.44°)
OKLaboklab(40.88% -0.0734 0.0673)
OKLCHoklch(40.88% 0.1 137.5)
XYZxyz(4.6077, 7.2923, 2.2015)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D561B #441B56
analogous
#4B561B #2D561B #1B5627
triadic
#2D561B #1B2D56 #561B2D
tetradic
#2D561B #1B4B56 #441B56 #56271B
square
#2D561B #1B4B56 #441B56 #56271B
split-complementary
#2D561B #271B56 #561B4B
monochromatic
#0C1707 #15270C #2D561B #45852A #5EB338

Accessibility & contrast

On white

8.54
#2D561B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D561B
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D561B#FFFFFF#000000##FFFFFF
##2D561B1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F14
Deuteranopia (green-blind)
#534B20
Tritanopia (blue-blind)
#2B534A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d561b;
/* rgb */ color: rgb(45, 86, 27);
/* oklch */ color: oklch(40.9% 0.100 137.5);
Tailwind
colors: {
  custom: {
    50: '#6a865a',
    500: '#2d561b',
    950: '#000000',
  },
}
SCSS
$custom: #2d561b;
$custom-light: #6a865a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d561b",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 27
  },
  "hsl": {
    "h": 101.695,
    "s": 52.212,
    "l": 22.157
  },
  "oklch": {
    "l": 0.40884,
    "c": 0.0996,
    "h": 137.5
  },
  "luminance": 0.07293
}

Semantic roles & 50–950 ramp

primary
#2D561B
secondary
#75418C
accent
#4CDCB0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2D561B

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

Preview Lab → · Contrast checker → · Palette generator →

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