#2E561F#2E561F

#2E561F is a dark, moderate green. Relative luminance 0.073; OKLCH L 41.0% C 0.095 H 138.1°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#2E561F
RGBrgb(46, 86, 31)
HSLhsl(104, 47%, 23%)
HSVhsv(104, 64%, 34%)
CMYKcmyk(46.5%, 0%, 64%, 66.3%)
CIE-LABlab(32.56, -25.76, 27.15)
CIE-LCHlch(32.56, 37.42, 133.49°)
OKLaboklab(40.99% -0.0709 0.0637)
OKLCHoklch(40.99% 0.095 138.1)
XYZxyz(4.7017, 7.3351, 2.4641)
Luminance0.0733 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E561F #471F56
analogous
#49561F #2E561F #1F562B
triadic
#2E561F #1F2E56 #561F2E
tetradic
#2E561F #1F4956 #471F56 #562B1F
square
#2E561F #1F4956 #471F56 #562B1F
split-complementary
#2E561F #2B1F56 #561F49
monochromatic
#0C1608 #16290F #2E561F #46832F #5EB03F

Accessibility & contrast

On white

8.51
#2E561F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2E561F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E561F
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E561F#FFFFFF#000000##FFFFFF
##2E561F1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e561f;
/* rgb */ color: rgb(46, 86, 31);
/* oklch */ color: oklch(41.0% 0.095 138.1);
Tailwind
colors: {
  custom: {
    50: '#6a865d',
    500: '#2e561f',
    950: '#000000',
  },
}
SCSS
$custom: #2e561f;
$custom-light: #6a865d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e561f",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 31
  },
  "hsl": {
    "h": 103.636,
    "s": 47.009,
    "l": 22.941
  },
  "oklch": {
    "l": 0.40989,
    "c": 0.09531,
    "h": 138.1
  },
  "luminance": 0.07335
}

Semantic roles & 50–950 ramp

primary
#2E561F
secondary
#78468B
accent
#51D7B2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2E561F

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

Preview Lab → · Contrast checker → · Palette generator →

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