#2E571F#2E571F

#2E571F is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.3% C 0.097 H 138.2°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#2E571F
RGBrgb(46, 87, 31)
HSLhsl(104, 47%, 23%)
HSVhsv(104, 64%, 34%)
CMYKcmyk(47.1%, 0%, 64.4%, 65.9%)
CIE-LABlab(32.91, -26.23, 27.55)
CIE-LCHlch(32.91, 38.04, 133.60°)
OKLaboklab(41.28% -0.0722 0.0645)
OKLCHoklch(41.28% 0.097 138.2)
XYZxyz(4.7821, 7.4959, 2.4909)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E571F #481F57
analogous
#4A571F #2E571F #1F572C
triadic
#2E571F #1F2E57 #571F2E
tetradic
#2E571F #1F4A57 #481F57 #572C1F
square
#2E571F #1F4A57 #481F57 #572C1F
split-complementary
#2E571F #2C1F57 #571F4A
monochromatic
#0C1708 #162A0F #2E571F #46842F #5EB13F

Accessibility & contrast

On white

8.40
#2E571F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2E571F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E571F
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E571F#FFFFFF#000000##FFFFFF
##2E571F1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5019
Deuteranopia (green-blind)
#544C23
Tritanopia (blue-blind)
#2B544B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e571f;
/* rgb */ color: rgb(46, 87, 31);
/* oklch */ color: oklch(41.3% 0.097 138.2);
Tailwind
colors: {
  custom: {
    50: '#6a875d',
    500: '#2e571f',
    950: '#000000',
  },
}
SCSS
$custom: #2e571f;
$custom-light: #6a875d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e571f",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 31
  },
  "hsl": {
    "h": 103.929,
    "s": 47.458,
    "l": 23.137
  },
  "oklch": {
    "l": 0.41278,
    "c": 0.09686,
    "h": 138.2
  },
  "luminance": 0.07496
}

Semantic roles & 50–950 ramp

primary
#2E571F
secondary
#79468C
accent
#51D7B3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2E571F

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

Preview Lab → · Contrast checker → · Palette generator →

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