#2E7722#2E7722

#2E7722 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.5% C 0.140 H 141.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#2E7722
RGBrgb(46, 119, 34)
HSLhsl(112, 56%, 30%)
HSVhsv(112, 71%, 47%)
CMYKcmyk(61.3%, 0%, 71.4%, 53.3%)
CIE-LABlab(44.07, -39.71, 38.38)
CIE-LCHlch(44.07, 55.22, 135.97°)
OKLaboklab(50.47% -0.1086 0.0879)
OKLCHoklch(50.47% 0.14 141)
XYZxyz(8.0119, 13.8893, 3.7718)
Luminance0.1389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7722 #6B2277
analogous
#597722 #2E7722 #227740
triadic
#2E7722 #222E77 #77222E
tetradic
#2E7722 #225977 #6B2277 #774022
square
#2E7722 #225977 #6B2277 #774022
split-complementary
#2E7722 #402277 #772259
monochromatic
#091807 #1C4714 #2E7722 #40A730 #5BCB49

Accessibility & contrast

On white

5.56
#2E7722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#2E7722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7722
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7722#FFFFFF#000000##FFFFFF
##2E77221.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C16
Deuteranopia (green-blind)
#71662A
Tritanopia (blue-blind)
#247366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2e7722;
/* rgb */ color: rgb(46, 119, 34);
/* oklch */ color: oklch(50.5% 0.140 141.0);
Tailwind
colors: {
  custom: {
    50: '#709f62',
    500: '#2e7722',
    950: '#000000',
  },
}
SCSS
$custom: #2e7722;
$custom-light: #709f62;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7722",
  "rgb": {
    "r": 46,
    "g": 119,
    "b": 34
  },
  "hsl": {
    "h": 111.529,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.5047,
    "c": 0.13966,
    "h": 141
  },
  "luminance": 0.1389
}

Semantic roles & 50–950 ramp

primary
#2E7722
secondary
#9D4BAA
accent
#49DFCA
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #2E7722

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

Preview Lab → · Contrast checker → · Palette generator →

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