#2B8421#2B8421

#2B8421 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.158 H 141.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2B8421
RGBrgb(43, 132, 33)
HSLhsl(114, 60%, 32%)
HSVhsv(114, 75%, 52%)
CMYKcmyk(67.4%, 0%, 75%, 48.2%)
CIE-LABlab(48.42, -45.44, 43.26)
CIE-LCHlch(48.42, 62.74, 136.41°)
OKLaboklab(54.03% -0.1239 0.098)
OKLCHoklch(54.03% 0.158 141.7)
XYZxyz(9.5215, 17.1250, 4.2422)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8421 #7A2184
analogous
#5D8421 #2B8421 #218448
triadic
#2B8421 #212B84 #84212B
tetradic
#2B8421 #215D84 #7A2184 #844821
square
#2B8421 #215D84 #7A2184 #844821
split-complementary
#2B8421 #482184 #84215D
monochromatic
#0B2209 #1B5315 #2B8421 #3BB52D #5AD24D

Accessibility & contrast

On white

4.75
#2B8421 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2B8421 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8421
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8421#FFFFFF#000000##FFFFFF
##2B84211.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770F
Deuteranopia (green-blind)
#7D702B
Tritanopia (blue-blind)
#198071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b8421;
/* rgb */ color: rgb(43, 132, 33);
/* oklch */ color: oklch(54.0% 0.158 141.7);
Tailwind
colors: {
  custom: {
    50: '#71a963',
    500: '#2b8421',
    950: '#000000',
  },
}
SCSS
$custom: #2b8421;
$custom-light: #71a963;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8421",
  "rgb": {
    "r": 43,
    "g": 132,
    "b": 33
  },
  "hsl": {
    "h": 113.939,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54034,
    "c": 0.15799,
    "h": 141.7
  },
  "luminance": 0.17126
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B8421

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

Preview Lab → · Contrast checker → · Palette generator →

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