#2E5722#2E5722

#2E5722 is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.3% C 0.094 H 139.1°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2E5722
RGBrgb(46, 87, 34)
HSLhsl(106, 44%, 24%)
HSVhsv(106, 61%, 34%)
CMYKcmyk(47.1%, 0%, 60.9%, 65.9%)
CIE-LABlab(32.95, -25.86, 26.00)
CIE-LCHlch(32.95, 36.67, 134.84°)
OKLaboklab(41.32% -0.071 0.0615)
OKLCHoklch(41.32% 0.094 139.1)
XYZxyz(4.8235, 7.5124, 2.7089)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5722 #4B2257
analogous
#485722 #2E5722 #225730
triadic
#2E5722 #222E57 #57222E
tetradic
#2E5722 #224857 #4B2257 #573022
square
#2E5722 #224857 #4B2257 #573022
split-complementary
#2E5722 #302257 #572248
monochromatic
#0C1609 #172B11 #2E5722 #458333 #5DAF44

Accessibility & contrast

On white

8.39
#2E5722 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2E5722 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5722
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5722#FFFFFF#000000##FFFFFF
##2E57221.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A501D
Deuteranopia (green-blind)
#544C26
Tritanopia (blue-blind)
#2B544B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e5722;
/* rgb */ color: rgb(46, 87, 34);
/* oklch */ color: oklch(41.3% 0.094 139.1);
Tailwind
colors: {
  custom: {
    50: '#6a875f',
    500: '#2e5722',
    950: '#000000',
  },
}
SCSS
$custom: #2e5722;
$custom-light: #6a875f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5722",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 34
  },
  "hsl": {
    "h": 106.415,
    "s": 43.802,
    "l": 23.725
  },
  "oklch": {
    "l": 0.41319,
    "c": 0.09392,
    "h": 139.1
  },
  "luminance": 0.07513
}

Semantic roles & 50–950 ramp

primary
#2E5722
secondary
#7C4A8B
accent
#54D4B7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2E5722

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

Preview Lab → · Contrast checker → · Palette generator →

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