#2E7822#2E7822

#2E7822 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.8% C 0.141 H 141.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2E7822
RGBrgb(46, 120, 34)
HSLhsl(112, 56%, 30%)
HSVhsv(112, 72%, 47%)
CMYKcmyk(61.7%, 0%, 71.7%, 52.9%)
CIE-LABlab(44.42, -40.10, 38.74)
CIE-LCHlch(44.42, 55.76, 135.99°)
OKLaboklab(50.75% -0.1096 0.0886)
OKLCHoklch(50.75% 0.141 141.1)
XYZxyz(8.1315, 14.1285, 3.8116)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7822 #6C2278
analogous
#597822 #2E7822 #227841
triadic
#2E7822 #222E78 #78222E
tetradic
#2E7822 #225978 #6C2278 #784122
square
#2E7822 #225978 #6C2278 #784122
split-complementary
#2E7822 #412278 #782259
monochromatic
#091907 #1C4814 #2E7822 #40A830 #5BCB49

Accessibility & contrast

On white

5.49
#2E7822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#2E7822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7822
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7822#FFFFFF#000000##FFFFFF
##2E78221.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D15
Deuteranopia (green-blind)
#72672A
Tritanopia (blue-blind)
#237467
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2e7822;
/* rgb */ color: rgb(46, 120, 34);
/* oklch */ color: oklch(50.8% 0.141 141.1);
Tailwind
colors: {
  custom: {
    50: '#70a062',
    500: '#2e7822',
    950: '#000000',
  },
}
SCSS
$custom: #2e7822;
$custom-light: #70a062;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7822",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 111.628,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50753,
    "c": 0.14096,
    "h": 141.1
  },
  "luminance": 0.14129
}

Semantic roles & 50–950 ramp

primary
#2E7822
secondary
#9E4BAB
accent
#49DFCA
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F05
muted
#7B7E7A

Preview Lab

Preview with #2E7822

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

Preview Lab → · Contrast checker → · Palette generator →

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