#2E511F#2E511F

#2E511F is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.5% C 0.087 H 137.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#2E511F
RGBrgb(46, 81, 31)
HSLhsl(102, 45%, 22%)
HSVhsv(102, 62%, 32%)
CMYKcmyk(43.2%, 0%, 61.7%, 68.2%)
CIE-LABlab(30.79, -23.31, 25.11)
CIE-LCHlch(30.79, 34.26, 132.88°)
OKLaboklab(39.55% -0.0642 0.0593)
OKLCHoklch(39.55% 0.087 137.3)
XYZxyz(4.3163, 6.5644, 2.3357)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E511F #421F51
analogous
#47511F #2E511F #1F5129
triadic
#2E511F #1F2E51 #511F2E
tetradic
#2E511F #1F4751 #421F51 #51291F
square
#2E511F #1F4751 #421F51 #51291F
split-complementary
#2E511F #291F51 #511F47
monochromatic
#0D1608 #15250E #2E511F #477D30 #60AA41

Accessibility & contrast

On white

9.08
#2E511F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2E511F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E511F
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E511F#FFFFFF#000000##FFFFFF
##2E511F1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A1A
Deuteranopia (green-blind)
#4F4723
Tritanopia (blue-blind)
#2C4E46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e511f;
/* rgb */ color: rgb(46, 81, 31);
/* oklch */ color: oklch(39.5% 0.087 137.3);
Tailwind
colors: {
  custom: {
    50: '#69825c',
    500: '#2e511f',
    950: '#000000',
  },
}
SCSS
$custom: #2e511f;
$custom-light: #69825c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e511f",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 31
  },
  "hsl": {
    "h": 102,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.39548,
    "c": 0.08741,
    "h": 137.3
  },
  "luminance": 0.06565
}

Semantic roles & 50–950 ramp

primary
#2E511F
secondary
#734686
accent
#53D4AE
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2E511F

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

Preview Lab → · Contrast checker → · Palette generator →

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