#2E522F#2E522F

#2E522F is a dark, moderate green. Relative luminance 0.068; OKLCH L 40.1% C 0.071 H 144.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2E522F
RGBrgb(46, 82, 47)
HSLhsl(122, 28%, 25%)
HSVhsv(122, 44%, 32%)
CMYKcmyk(43.9%, 0%, 42.7%, 67.8%)
CIE-LABlab(31.39, -21.33, 16.59)
CIE-LCHlch(31.39, 27.02, 142.13°)
OKLaboklab(40.12% -0.0581 0.0411)
OKLCHoklch(40.12% 0.071 144.7)
XYZxyz(4.6569, 6.8204, 3.7599)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E522F #522E51
analogous
#3F522E #2E522F #2E5241
triadic
#2E522F #2F2E52 #522F2E
tetradic
#2E522F #2E3F52 #522E51 #52412E
square
#2E522F #2E3F52 #522E51 #52412E
split-complementary
#2E522F #412E52 #522E3F
monochromatic
#0B140B #182B19 #2E522F #447945 #5AA05C

Accessibility & contrast

On white

8.88
#2E522F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E522F
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E522F#FFFFFF#000000##FFFFFF
##2E522F1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C2D
Deuteranopia (green-blind)
#4E4931
Tritanopia (blue-blind)
#2A5049
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e522f;
/* rgb */ color: rgb(46, 82, 47);
/* oklch */ color: oklch(40.1% 0.071 144.7);
Tailwind
colors: {
  custom: {
    50: '#698368',
    500: '#2e522f',
    950: '#000000',
  },
}
SCSS
$custom: #2e522f;
$custom-light: #698368;
$custom-dark: #000000;
JSON
{
  "hex": "#2e522f",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 47
  },
  "hsl": {
    "h": 121.667,
    "s": 28.125,
    "l": 25.098
  },
  "oklch": {
    "l": 0.40118,
    "c": 0.07116,
    "h": 144.7
  },
  "luminance": 0.06821
}

Semantic roles & 50–950 ramp

primary
#2E522F
secondary
#845882
accent
#63C2C4
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2E522F

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

Preview Lab → · Contrast checker → · Palette generator →

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