#2E541F#2E541F

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

Color values

HEX#2E541F
RGBrgb(46, 84, 31)
HSLhsl(103, 46%, 23%)
HSVhsv(103, 63%, 33%)
CMYKcmyk(45.2%, 0%, 63.1%, 67.1%)
CIE-LABlab(31.85, -24.79, 26.34)
CIE-LCHlch(31.85, 36.17, 133.27°)
OKLaboklab(40.41% -0.0683 0.0619)
OKLCHoklch(40.41% 0.092 137.8)
XYZxyz(4.5442, 7.0202, 2.4116)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E541F #451F54
analogous
#48541F #2E541F #1F542B
triadic
#2E541F #1F2E54 #541F2E
tetradic
#2E541F #1F4854 #451F54 #542B1F
square
#2E541F #1F4854 #451F54 #542B1F
split-complementary
#2E541F #2B1F54 #541F48
monochromatic
#0C1608 #16270F #2E541F #46812F #5FAD40

Accessibility & contrast

On white

8.74
#2E541F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E541F
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E541F#FFFFFF#000000##FFFFFF
##2E541F1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D1A
Deuteranopia (green-blind)
#514A23
Tritanopia (blue-blind)
#2C5148
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e541f;
/* rgb */ color: rgb(46, 84, 31);
/* oklch */ color: oklch(40.4% 0.092 137.8);
Tailwind
colors: {
  custom: {
    50: '#6a845d',
    500: '#2e541f',
    950: '#000000',
  },
}
SCSS
$custom: #2e541f;
$custom-light: #6a845d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e541f",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 31
  },
  "hsl": {
    "h": 103.019,
    "s": 46.087,
    "l": 22.549
  },
  "oklch": {
    "l": 0.40413,
    "c": 0.09218,
    "h": 137.8
  },
  "luminance": 0.0702
}

Semantic roles & 50–950 ramp

primary
#2E541F
secondary
#764689
accent
#52D6B0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2E541F

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

Preview Lab → · Contrast checker → · Palette generator →

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