#2E821F#2E821F

#2E821F is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.156 H 140.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2E821F
RGBrgb(46, 130, 31)
HSLhsl(111, 61%, 32%)
HSVhsv(111, 76%, 51%)
CMYKcmyk(64.6%, 0%, 76.2%, 49%)
CIE-LABlab(47.81, -44.17, 43.44)
CIE-LCHlch(47.81, 61.95, 135.48°)
OKLaboklab(53.55% -0.1208 0.098)
OKLCHoklch(53.55% 0.156 140.9)
XYZxyz(9.3562, 16.6441, 4.0156)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E821F #731F82
analogous
#60821F #2E821F #1F8242
triadic
#2E821F #1F2E82 #821F2E
tetradic
#2E821F #1F6082 #731F82 #82421F
square
#2E821F #1F6082 #731F82 #82421F
split-complementary
#2E821F #421F82 #821F60
monochromatic
#0B1F07 #1D5113 #2E821F #3FB32B #5DD348

Accessibility & contrast

On white

4.85
#2E821F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2E821F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E821F
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E821F#FFFFFF#000000##FFFFFF
##2E821F1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85760C
Deuteranopia (green-blind)
#7B6F29
Tritanopia (blue-blind)
#207E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2e821f;
/* rgb */ color: rgb(46, 130, 31);
/* oklch */ color: oklch(53.5% 0.156 140.9);
Tailwind
colors: {
  custom: {
    50: '#72a762',
    500: '#2e821f',
    950: '#000000',
  },
}
SCSS
$custom: #2e821f;
$custom-light: #72a762;
$custom-dark: #000000;
JSON
{
  "hex": "#2e821f",
  "rgb": {
    "r": 46,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 110.909,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5355,
    "c": 0.15559,
    "h": 140.9
  },
  "luminance": 0.16645
}

Semantic roles & 50–950 ramp

primary
#2E821F
secondary
#A448B5
accent
#43E5CC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #2E821F

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

Preview Lab → · Contrast checker → · Palette generator →

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