#2E6622#2E6622

#2E6622 is a mid, moderate green. Relative luminance 0.102; OKLCH L 45.6% C 0.116 H 140.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#2E6622
RGBrgb(46, 102, 34)
HSLhsl(109, 50%, 27%)
HSVhsv(109, 67%, 40%)
CMYKcmyk(54.9%, 0%, 66.7%, 60%)
CIE-LABlab(38.20, -32.69, 32.00)
CIE-LCHlch(38.20, 45.75, 135.61°)
OKLaboklab(45.63% -0.0896 0.0744)
OKLCHoklch(45.63% 0.116 140.3)
XYZxyz(6.1666, 10.1986, 3.1566)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6622 #5A2266
analogous
#506622 #2E6622 #226638
triadic
#2E6622 #222E66 #66222E
tetradic
#2E6622 #225066 #5A2266 #663822
square
#2E6622 #225066 #5A2266 #663822
split-complementary
#2E6622 #382266 #662250
monochromatic
#0A1708 #193813 #2E6622 #439431 #59C042

Accessibility & contrast

On white

6.91
#2E6622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2E6622 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6622
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6622#FFFFFF#000000##FFFFFF
##2E66221.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D1A
Deuteranopia (green-blind)
#615828
Tritanopia (blue-blind)
#286358
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e6622;
/* rgb */ color: rgb(46, 102, 34);
/* oklch */ color: oklch(45.6% 0.116 140.3);
Tailwind
colors: {
  custom: {
    50: '#6d9260',
    500: '#2e6622',
    950: '#000000',
  },
}
SCSS
$custom: #2e6622;
$custom-light: #6d9260;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6622",
  "rgb": {
    "r": 46,
    "g": 102,
    "b": 34
  },
  "hsl": {
    "h": 109.412,
    "s": 50,
    "l": 26.667
  },
  "oklch": {
    "l": 0.45626,
    "c": 0.11643,
    "h": 140.3
  },
  "luminance": 0.10199
}

Semantic roles & 50–950 ramp

primary
#2E6622
secondary
#8C4A9A
accent
#4EDAC1
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2E6622

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

Preview Lab → · Contrast checker → · Palette generator →

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