#2E541E#2E541E

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

Color values

HEX#2E541E
RGBrgb(46, 84, 30)
HSLhsl(102, 47%, 22%)
HSVhsv(102, 64%, 33%)
CMYKcmyk(45.2%, 0%, 64.3%, 67.1%)
CIE-LABlab(31.84, -24.91, 26.85)
CIE-LCHlch(31.84, 36.63, 132.85°)
OKLaboklab(40.4% -0.0687 0.0629)
OKLCHoklch(40.4% 0.093 137.5)
XYZxyz(4.5312, 7.0150, 2.3433)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E541E #441E54
analogous
#49541E #2E541E #1E5429
triadic
#2E541E #1E2E54 #541E2E
tetradic
#2E541E #1E4954 #441E54 #54291E
square
#2E541E #1E4954 #441E54 #54291E
split-complementary
#2E541E #291E54 #541E49
monochromatic
#0C1708 #15270E #2E541E #47812E #5FAE3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E541E#FFFFFF#000000##FFFFFF
##2E541E1.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)
#574D18
Deuteranopia (green-blind)
#524A22
Tritanopia (blue-blind)
#2C5148
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e541e;
/* rgb */ color: rgb(46, 84, 30);
/* oklch */ color: oklch(40.4% 0.093 137.5);
Tailwind
colors: {
  custom: {
    50: '#6a845c',
    500: '#2e541e',
    950: '#000000',
  },
}
SCSS
$custom: #2e541e;
$custom-light: #6a845c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e541e",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 30
  },
  "hsl": {
    "h": 102.222,
    "s": 47.368,
    "l": 22.353
  },
  "oklch": {
    "l": 0.40399,
    "c": 0.09316,
    "h": 137.5
  },
  "luminance": 0.07015
}

Semantic roles & 50–950 ramp

primary
#2E541E
secondary
#754589
accent
#51D7AF
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2E541E

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

Preview Lab → · Contrast checker → · Palette generator →

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