#2E541B#2E541B

#2E541B is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.4% C 0.096 H 136.7°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#2E541B
RGBrgb(46, 84, 27)
HSLhsl(100, 51%, 22%)
HSVhsv(100, 68%, 33%)
CMYKcmyk(45.2%, 0%, 67.9%, 67.1%)
CIE-LABlab(31.81, -25.26, 28.36)
CIE-LCHlch(31.81, 37.98, 131.69°)
OKLaboklab(40.36% -0.0699 0.0658)
OKLCHoklch(40.36% 0.096 136.7)
XYZxyz(4.4947, 7.0004, 2.1511)
Luminance0.0700 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E541B #411B54
analogous
#4B541B #2E541B #1B5425
triadic
#2E541B #1B2E54 #541B2E
tetradic
#2E541B #1B4B54 #411B54 #54251B
square
#2E541B #1B4B54 #411B54 #54251B
split-complementary
#2E541B #251B54 #541B4B
monochromatic
#0D1707 #15260C #2E541B #47822A #61B139

Accessibility & contrast

On white

8.75
#2E541B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2E541B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E541B
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E541B#FFFFFF#000000##FFFFFF
##2E541B1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D14
Deuteranopia (green-blind)
#524A20
Tritanopia (blue-blind)
#2C5148
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e541b;
/* rgb */ color: rgb(46, 84, 27);
/* oklch */ color: oklch(40.4% 0.096 136.7);
Tailwind
colors: {
  custom: {
    50: '#6a845a',
    500: '#2e541b',
    950: '#000000',
  },
}
SCSS
$custom: #2e541b;
$custom-light: #6a845a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e541b",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 100,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40361,
    "c": 0.09598,
    "h": 136.7
  },
  "luminance": 0.07001
}

Semantic roles & 50–950 ramp

primary
#2E541B
secondary
#72418A
accent
#4DDBAC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2E541B

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

Preview Lab → · Contrast checker → · Palette generator →

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