#2C561F#2C561F

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

Color values

HEX#2C561F
RGBrgb(44, 86, 31)
HSLhsl(106, 47%, 23%)
HSVhsv(106, 64%, 34%)
CMYKcmyk(48.8%, 0%, 64%, 66.3%)
CIE-LABlab(32.46, -26.48, 27.01)
CIE-LCHlch(32.46, 37.82, 134.43°)
OKLaboklab(40.88% -0.0727 0.0634)
OKLCHoklch(40.88% 0.096 138.9)
XYZxyz(4.6137, 7.2897, 2.4600)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C561F #491F56
analogous
#47561F #2C561F #1F562D
triadic
#2C561F #1F2C56 #561F2C
tetradic
#2C561F #1F4756 #491F56 #562D1F
square
#2C561F #1F4756 #491F56 #562D1F
split-complementary
#2C561F #2D1F56 #561F47
monochromatic
#0C1608 #15290F #2C561F #43832F #5AB03F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C561F#FFFFFF#000000##FFFFFF
##2C561F1.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)
#594F19
Deuteranopia (green-blind)
#534B23
Tritanopia (blue-blind)
#29534A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c561f;
/* rgb */ color: rgb(44, 86, 31);
/* oklch */ color: oklch(40.9% 0.096 138.9);
Tailwind
colors: {
  custom: {
    50: '#69865d',
    500: '#2c561f',
    950: '#000000',
  },
}
SCSS
$custom: #2c561f;
$custom-light: #69865d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c561f",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 31
  },
  "hsl": {
    "h": 105.818,
    "s": 47.009,
    "l": 22.941
  },
  "oklch": {
    "l": 0.4088,
    "c": 0.09649,
    "h": 138.9
  },
  "luminance": 0.0729
}

Semantic roles & 50–950 ramp

primary
#2C561F
secondary
#7B468B
accent
#51D7B7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2C561F

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

Preview Lab → · Contrast checker → · Palette generator →

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