#2E821A#2E821A

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

Color values

HEX#2E821A
RGBrgb(46, 130, 26)
HSLhsl(108, 67%, 31%)
HSVhsv(108, 80%, 51%)
CMYKcmyk(64.6%, 0%, 80%, 49%)
CIE-LABlab(47.78, -44.54, 45.21)
CIE-LCHlch(47.78, 63.46, 134.57°)
OKLaboklab(53.51% -0.1221 0.101)
OKLCHoklch(53.51% 0.158 140.4)
XYZxyz(9.2954, 16.6198, 3.6952)
Luminance0.1662 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E821A #6E1A82
analogous
#62821A #2E821A #1A823A
triadic
#2E821A #1A2E82 #821A2E
tetradic
#2E821A #1A6282 #6E1A82 #823A1A
square
#2E821A #1A6282 #6E1A82 #823A1A
split-complementary
#2E821A #3A1A82 #821A62
monochromatic
#0A1C06 #1C4F10 #2E821A #40B524 #5CD83E

Accessibility & contrast

On white

4.86
#2E821A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2E821A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E821A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E821A#FFFFFF#000000##FFFFFF
##2E821A1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7B6F26
Tritanopia (blue-blind)
#217E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2e821a;
/* rgb */ color: rgb(46, 130, 26);
/* oklch */ color: oklch(53.5% 0.158 140.4);
Tailwind
colors: {
  custom: {
    50: '#73a75f',
    500: '#2e821a',
    950: '#000000',
  },
}
SCSS
$custom: #2e821a;
$custom-light: #73a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e821a",
  "rgb": {
    "r": 46,
    "g": 130,
    "b": 26
  },
  "hsl": {
    "h": 108.462,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53514,
    "c": 0.15844,
    "h": 140.4
  },
  "luminance": 0.16621
}

Semantic roles & 50–950 ramp

primary
#2E821A
secondary
#9F42B6
accent
#3EEAC9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2E821A

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

Preview Lab → · Contrast checker → · Palette generator →

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