#2E5822#2E5822

#2E5822 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.6% C 0.095 H 139.2°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#2E5822
RGBrgb(46, 88, 34)
HSLhsl(107, 44%, 24%)
HSVhsv(107, 61%, 35%)
CMYKcmyk(47.7%, 0%, 61.4%, 65.5%)
CIE-LABlab(33.30, -26.34, 26.42)
CIE-LCHlch(33.30, 37.30, 134.91°)
OKLaboklab(41.61% -0.0723 0.0624)
OKLCHoklch(41.61% 0.095 139.2)
XYZxyz(4.9050, 7.6755, 2.7361)
Luminance0.0768 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5822 #4C2258
analogous
#495822 #2E5822 #225831
triadic
#2E5822 #222E58 #58222E
tetradic
#2E5822 #224958 #4C2258 #583122
square
#2E5822 #224958 #4C2258 #583122
split-complementary
#2E5822 #312258 #582249
monochromatic
#0C1609 #172C11 #2E5822 #458433 #5CB044

Accessibility & contrast

On white

8.28
#2E5822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2E5822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5822
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5822#FFFFFF#000000##FFFFFF
##2E58221.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B511D
Deuteranopia (green-blind)
#554D26
Tritanopia (blue-blind)
#2B554C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e5822;
/* rgb */ color: rgb(46, 88, 34);
/* oklch */ color: oklch(41.6% 0.095 139.2);
Tailwind
colors: {
  custom: {
    50: '#6a875f',
    500: '#2e5822',
    950: '#000000',
  },
}
SCSS
$custom: #2e5822;
$custom-light: #6a875f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5822",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 34
  },
  "hsl": {
    "h": 106.667,
    "s": 44.262,
    "l": 23.922
  },
  "oklch": {
    "l": 0.41606,
    "c": 0.09549,
    "h": 139.2
  },
  "luminance": 0.07676
}

Semantic roles & 50–950 ramp

primary
#2E5822
secondary
#7D4A8C
accent
#54D4B8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2E5822

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

Preview Lab → · Contrast checker → · Palette generator →

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