#2E6022#2E6022

#2E6022 is a dark, moderate green. Relative luminance 0.091; OKLCH L 43.9% C 0.108 H 139.9°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#2E6022
RGBrgb(46, 96, 34)
HSLhsl(108, 48%, 25%)
HSVhsv(108, 65%, 38%)
CMYKcmyk(52.1%, 0%, 64.6%, 62.4%)
CIE-LABlab(36.10, -30.04, 29.65)
CIE-LCHlch(36.10, 42.21, 135.38°)
OKLaboklab(43.91% -0.0824 0.0694)
OKLCHoklch(43.91% 0.108 139.9)
XYZxyz(5.5981, 9.0617, 2.9672)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6022 #542260
analogous
#4D6022 #2E6022 #226035
triadic
#2E6022 #222E60 #60222E
tetradic
#2E6022 #224D60 #542260 #603522
square
#2E6022 #224D60 #542260 #603522
split-complementary
#2E6022 #352260 #60224D
monochromatic
#0B1708 #183312 #2E6022 #448D32 #59BA42

Accessibility & contrast

On white

7.47
#2E6022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2E6022 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E6022
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6022#FFFFFF#000000##FFFFFF
##2E60221.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63581B
Deuteranopia (green-blind)
#5C5327
Tritanopia (blue-blind)
#295D53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e6022;
/* rgb */ color: rgb(46, 96, 34);
/* oklch */ color: oklch(43.9% 0.108 139.9);
Tailwind
colors: {
  custom: {
    50: '#6c8d60',
    500: '#2e6022',
    950: '#000000',
  },
}
SCSS
$custom: #2e6022;
$custom-light: #6c8d60;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6022",
  "rgb": {
    "r": 46,
    "g": 96,
    "b": 34
  },
  "hsl": {
    "h": 108.387,
    "s": 47.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.43906,
    "c": 0.10768,
    "h": 139.9
  },
  "luminance": 0.09062
}

Semantic roles & 50–950 ramp

primary
#2E6022
secondary
#864A94
accent
#51D7BD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2E6022

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

Preview Lab → · Contrast checker → · Palette generator →

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