#2E522B#2E522B

#2E522B is a dark, moderate green. Relative luminance 0.068; OKLCH L 40.0% C 0.076 H 142.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#2E522B
RGBrgb(46, 82, 43)
HSLhsl(115, 31%, 25%)
HSVhsv(115, 48%, 32%)
CMYKcmyk(43.9%, 0%, 47.6%, 67.8%)
CIE-LABlab(31.32, -22.03, 18.90)
CIE-LCHlch(31.32, 29.03, 139.38°)
OKLaboklab(40.04% -0.0601 0.0463)
OKLCHoklch(40.04% 0.076 142.4)
XYZxyz(4.5799, 6.7896, 3.3542)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E522B #4F2B52
analogous
#42522B #2E522B #2B523C
triadic
#2E522B #2B2E52 #522B2E
tetradic
#2E522B #2B4252 #4F2B52 #523C2B
square
#2E522B #2B4252 #4F2B52 #523C2B
split-complementary
#2E522B #3C2B52 #522B42
monochromatic
#0B140B #172A16 #2E522B #457A40 #5BA255

Accessibility & contrast

On white

8.91
#2E522B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2E522B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E522B
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E522B#FFFFFF#000000##FFFFFF
##2E522B1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544C28
Deuteranopia (green-blind)
#4E482D
Tritanopia (blue-blind)
#2A5049
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e522b;
/* rgb */ color: rgb(46, 82, 43);
/* oklch */ color: oklch(40.0% 0.076 142.4);
Tailwind
colors: {
  custom: {
    50: '#698365',
    500: '#2e522b',
    950: '#000000',
  },
}
SCSS
$custom: #2e522b;
$custom-light: #698365;
$custom-dark: #000000;
JSON
{
  "hex": "#2e522b",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 43
  },
  "hsl": {
    "h": 115.385,
    "s": 31.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.40037,
    "c": 0.07585,
    "h": 142.4
  },
  "luminance": 0.0679
}

Semantic roles & 50–950 ramp

primary
#2E522B
secondary
#805584
accent
#60C7BF
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A05
muted
#7A7C7A

Preview Lab

Preview with #2E522B

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

Preview Lab → · Contrast checker → · Palette generator →

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