#2B821D#2B821D

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

Color values

HEX#2B821D
RGBrgb(43, 130, 29)
HSLhsl(112, 64%, 31%)
HSVhsv(112, 78%, 51%)
CMYKcmyk(66.9%, 0%, 77.7%, 49%)
CIE-LABlab(47.71, -45.03, 44.06)
CIE-LCHlch(47.71, 63.00, 135.63°)
OKLaboklab(53.44% -0.1231 0.0991)
OKLCHoklch(53.44% 0.158 141.2)
XYZxyz(9.2002, 16.5666, 3.8750)
Luminance0.1657 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B821D #741D82
analogous
#5D821D #2B821D #1D8241
triadic
#2B821D #1D2B82 #821D2B
tetradic
#2B821D #1D5D82 #741D82 #82411D
square
#2B821D #1D5D82 #741D82 #82411D
split-complementary
#2B821D #411D82 #821D5D
monochromatic
#0A1E07 #1A5012 #2B821D #3CB428 #58D544

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B821D#FFFFFF#000000##FFFFFF
##2B821D1.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)
#857507
Deuteranopia (green-blind)
#7B6F28
Tritanopia (blue-blind)
#1B7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b821d;
/* rgb */ color: rgb(43, 130, 29);
/* oklch */ color: oklch(53.4% 0.158 141.2);
Tailwind
colors: {
  custom: {
    50: '#71a761',
    500: '#2b821d',
    950: '#000000',
  },
}
SCSS
$custom: #2b821d;
$custom-light: #71a761;
$custom-dark: #000000;
JSON
{
  "hex": "#2b821d",
  "rgb": {
    "r": 43,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 111.683,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53439,
    "c": 0.15798,
    "h": 141.2
  },
  "luminance": 0.16568
}

Semantic roles & 50–950 ramp

primary
#2B821D
secondary
#A646B5
accent
#41E7D0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2B821D

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

Preview Lab → · Contrast checker → · Palette generator →

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