#2B821E#2B821E

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

Color values

HEX#2B821E
RGBrgb(43, 130, 30)
HSLhsl(112, 63%, 31%)
HSVhsv(112, 77%, 51%)
CMYKcmyk(66.9%, 0%, 76.9%, 49%)
CIE-LABlab(47.72, -44.96, 43.70)
CIE-LCHlch(47.72, 62.69, 135.82°)
OKLaboklab(53.45% -0.1228 0.0984)
OKLCHoklch(53.45% 0.157 141.3)
XYZxyz(9.2128, 16.5717, 3.9412)
Luminance0.1657 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B821E #751E82
analogous
#5D821E #2B821E #1E8243
triadic
#2B821E #1E2B82 #821E2B
tetradic
#2B821E #1E5D82 #751E82 #82431E
square
#2B821E #1E5D82 #751E82 #82431E
split-complementary
#2B821E #431E82 #821E5D
monochromatic
#0A1F07 #1B5013 #2B821E #3BB429 #59D446

Accessibility & contrast

On white

4.87
#2B821E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2B821E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B821E
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B821E#FFFFFF#000000##FFFFFF
##2B821E1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857609
Deuteranopia (green-blind)
#7B6F29
Tritanopia (blue-blind)
#1B7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b821e;
/* rgb */ color: rgb(43, 130, 30);
/* oklch */ color: oklch(53.4% 0.157 141.3);
Tailwind
colors: {
  custom: {
    50: '#71a761',
    500: '#2b821e',
    950: '#000000',
  },
}
SCSS
$custom: #2b821e;
$custom-light: #71a761;
$custom-dark: #000000;
JSON
{
  "hex": "#2b821e",
  "rgb": {
    "r": 43,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 112.2,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53446,
    "c": 0.15739,
    "h": 141.3
  },
  "luminance": 0.16573
}

Semantic roles & 50–950 ramp

primary
#2B821E
secondary
#A747B5
accent
#42E6D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #2B821E

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

Preview Lab → · Contrast checker → · Palette generator →

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