#2E821B#2E821B

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

Color values

HEX#2E821B
RGBrgb(46, 130, 27)
HSLhsl(109, 66%, 31%)
HSVhsv(109, 79%, 51%)
CMYKcmyk(64.6%, 0%, 79.2%, 49%)
CIE-LABlab(47.78, -44.47, 44.87)
CIE-LCHlch(47.78, 63.17, 134.74°)
OKLaboklab(53.52% -0.1218 0.1004)
OKLCHoklch(53.52% 0.158 140.5)
XYZxyz(9.3067, 16.6243, 3.7551)
Luminance0.1663 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E821B #6F1B82
analogous
#61821B #2E821B #1B823B
triadic
#2E821B #1B2E82 #821B2E
tetradic
#2E821B #1B6182 #6F1B82 #823B1B
square
#2E821B #1B6182 #6F1B82 #823B1B
split-complementary
#2E821B #3B1B82 #821B61
monochromatic
#0A1D06 #1C4F10 #2E821B #40B526 #5CD740

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2e821b;
/* rgb */ color: rgb(46, 130, 27);
/* oklch */ color: oklch(53.5% 0.158 140.5);
Tailwind
colors: {
  custom: {
    50: '#72a760',
    500: '#2e821b',
    950: '#000000',
  },
}
SCSS
$custom: #2e821b;
$custom-light: #72a760;
$custom-dark: #000000;
JSON
{
  "hex": "#2e821b",
  "rgb": {
    "r": 46,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 108.932,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53521,
    "c": 0.1579,
    "h": 140.5
  },
  "luminance": 0.16625
}

Semantic roles & 50–950 ramp

primary
#2E821B
secondary
#A043B6
accent
#3FE9C9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2E821B

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

Preview Lab → · Contrast checker → · Palette generator →

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