#2E821C#2E821C

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

Color values

HEX#2E821C
RGBrgb(46, 130, 28)
HSLhsl(109, 65%, 31%)
HSVhsv(109, 78%, 51%)
CMYKcmyk(64.6%, 0%, 78.5%, 49%)
CIE-LABlab(47.79, -44.40, 44.53)
CIE-LCHlch(47.79, 62.88, 134.92°)
OKLaboklab(53.53% -0.1216 0.0999)
OKLCHoklch(53.53% 0.157 140.6)
XYZxyz(9.3185, 16.6290, 3.8170)
Luminance0.1663 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E821C #701C82
analogous
#61821C #2E821C #1C823D
triadic
#2E821C #1C2E82 #821C2E
tetradic
#2E821C #1C6182 #701C82 #823D1C
square
#2E821C #1C6182 #701C82 #823D1C
split-complementary
#2E821C #3D1C82 #821C61
monochromatic
#0A1D06 #1C5011 #2E821C #40B427 #5CD642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E821C#FFFFFF#000000##FFFFFF
##2E821C1.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)
#867605
Deuteranopia (green-blind)
#7B6F27
Tritanopia (blue-blind)
#217E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2e821c;
/* rgb */ color: rgb(46, 130, 28);
/* oklch */ color: oklch(53.5% 0.157 140.6);
Tailwind
colors: {
  custom: {
    50: '#72a760',
    500: '#2e821c',
    950: '#000000',
  },
}
SCSS
$custom: #2e821c;
$custom-light: #72a760;
$custom-dark: #000000;
JSON
{
  "hex": "#2e821c",
  "rgb": {
    "r": 46,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 109.412,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53528,
    "c": 0.15734,
    "h": 140.6
  },
  "luminance": 0.1663
}

Semantic roles & 50–950 ramp

primary
#2E821C
secondary
#A144B5
accent
#40E8CA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2E821C

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

Preview Lab → · Contrast checker → · Palette generator →

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