#2B821F#2B821F

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

Color values

HEX#2B821F
RGBrgb(43, 130, 31)
HSLhsl(113, 61%, 32%)
HSVhsv(113, 76%, 51%)
CMYKcmyk(66.9%, 0%, 76.2%, 49%)
CIE-LABlab(47.72, -44.88, 43.33)
CIE-LCHlch(47.72, 62.38, 136.01°)
OKLaboklab(53.45% -0.1225 0.0978)
OKLCHoklch(53.45% 0.157 141.4)
XYZxyz(9.2257, 16.5769, 4.0095)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B821F #761F82
analogous
#5D821F #2B821F #1F8245
triadic
#2B821F #1F2B82 #821F2B
tetradic
#2B821F #1F5D82 #761F82 #82451F
square
#2B821F #1F5D82 #761F82 #82451F
split-complementary
#2B821F #451F82 #821F5D
monochromatic
#0A1F07 #1B5113 #2B821F #3BB32B #59D348

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B821F#FFFFFF#000000##FFFFFF
##2B821F1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b821f;
/* rgb */ color: rgb(43, 130, 31);
/* oklch */ color: oklch(53.5% 0.157 141.4);
Tailwind
colors: {
  custom: {
    50: '#71a762',
    500: '#2b821f',
    950: '#000000',
  },
}
SCSS
$custom: #2b821f;
$custom-light: #71a762;
$custom-dark: #000000;
JSON
{
  "hex": "#2b821f",
  "rgb": {
    "r": 43,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 112.727,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53454,
    "c": 0.1568,
    "h": 141.4
  },
  "luminance": 0.16578
}

Semantic roles & 50–950 ramp

primary
#2B821F
secondary
#A848B5
accent
#43E5D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #2B821F

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

Preview Lab → · Contrast checker → · Palette generator →

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