#2B8321#2B8321

#2B8321 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.157 H 141.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2B8321
RGBrgb(43, 131, 33)
HSLhsl(114, 60%, 32%)
HSVhsv(114, 75%, 51%)
CMYKcmyk(67.2%, 0%, 74.8%, 48.6%)
CIE-LABlab(48.08, -45.08, 42.92)
CIE-LCHlch(48.08, 62.24, 136.41°)
OKLaboklab(53.75% -0.123 0.0972)
OKLCHoklch(53.75% 0.157 141.7)
XYZxyz(9.3866, 16.8550, 4.1972)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8321 #792183
analogous
#5C8321 #2B8321 #218348
triadic
#2B8321 #212B83 #83212B
tetradic
#2B8321 #215C83 #792183 #834821
square
#2B8321 #215C83 #792183 #834821
split-complementary
#2B8321 #482183 #83215C
monochromatic
#0B2108 #1B5215 #2B8321 #3BB42D #5AD24C

Accessibility & contrast

On white

4.80
#2B8321 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2B8321 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8321
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8321#FFFFFF#000000##FFFFFF
##2B83211.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867610
Deuteranopia (green-blind)
#7C6F2B
Tritanopia (blue-blind)
#1A7F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b8321;
/* rgb */ color: rgb(43, 131, 33);
/* oklch */ color: oklch(53.8% 0.157 141.7);
Tailwind
colors: {
  custom: {
    50: '#71a863',
    500: '#2b8321',
    950: '#000000',
  },
}
SCSS
$custom: #2b8321;
$custom-light: #71a863;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8321",
  "rgb": {
    "r": 43,
    "g": 131,
    "b": 33
  },
  "hsl": {
    "h": 113.878,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53752,
    "c": 0.15677,
    "h": 141.7
  },
  "luminance": 0.16856
}

Semantic roles & 50–950 ramp

primary
#2B8321
secondary
#AA4BB5
accent
#45E3D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8321

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

Preview Lab → · Contrast checker → · Palette generator →

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