#2E7221#2E7221

#2E7221 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.134 H 140.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#2E7221
RGBrgb(46, 114, 33)
HSLhsl(110, 55%, 29%)
HSVhsv(110, 71%, 45%)
CMYKcmyk(59.6%, 0%, 71.1%, 55.3%)
CIE-LABlab(42.35, -37.81, 36.98)
CIE-LCHlch(42.35, 52.89, 135.64°)
OKLaboklab(49.04% -0.1035 0.0848)
OKLCHoklch(49.04% 0.134 140.7)
XYZxyz(7.4182, 12.7246, 3.5037)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7221 #652172
analogous
#577221 #2E7221 #21723D
triadic
#2E7221 #212E72 #72212E
tetradic
#2E7221 #215772 #652172 #723D21
square
#2E7221 #215772 #652172 #723D21
split-complementary
#2E7221 #3D2172 #722157
monochromatic
#0A1807 #1B4313 #2E7221 #41A12F #5AC944

Accessibility & contrast

On white

5.92
#2E7221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2E7221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7221
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7221#FFFFFF#000000##FFFFFF
##2E72211.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756716
Deuteranopia (green-blind)
#6C6228
Tritanopia (blue-blind)
#256E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e7221;
/* rgb */ color: rgb(46, 114, 33);
/* oklch */ color: oklch(49.0% 0.134 140.7);
Tailwind
colors: {
  custom: {
    50: '#6f9b61',
    500: '#2e7221',
    950: '#000000',
  },
}
SCSS
$custom: #2e7221;
$custom-light: #6f9b61;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7221",
  "rgb": {
    "r": 46,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 110.37,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49041,
    "c": 0.13379,
    "h": 140.7
  },
  "luminance": 0.12725
}

Semantic roles & 50–950 ramp

primary
#2E7221
secondary
#9749A5
accent
#49DEC7
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2E7221

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

Preview Lab → · Contrast checker → · Palette generator →

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