#2B8420#2B8420

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

Color values

HEX#2B8420
RGBrgb(43, 132, 32)
HSLhsl(113, 61%, 32%)
HSVhsv(113, 76%, 52%)
CMYKcmyk(67.4%, 0%, 75.8%, 48.2%)
CIE-LABlab(48.41, -45.53, 43.64)
CIE-LCHlch(48.41, 63.06, 136.21°)
OKLaboklab(54.03% -0.1242 0.0986)
OKLCHoklch(54.03% 0.159 141.6)
XYZxyz(9.5077, 17.1194, 4.1695)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8420 #792084
analogous
#5D8420 #2B8420 #208447
triadic
#2B8420 #202B84 #84202B
tetradic
#2B8420 #205D84 #792084 #844720
square
#2B8420 #205D84 #792084 #844720
split-complementary
#2B8420 #472084 #84205D
monochromatic
#0B2108 #1B5314 #2B8420 #3BB52C #5AD34B

Accessibility & contrast

On white

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

On black

4.42
#2B8420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B8420#FFFFFF#000000##FFFFFF
##2B84201.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770D
Deuteranopia (green-blind)
#7D702A
Tritanopia (blue-blind)
#1A8071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b8420;
/* rgb */ color: rgb(43, 132, 32);
/* oklch */ color: oklch(54.0% 0.159 141.6);
Tailwind
colors: {
  custom: {
    50: '#71a963',
    500: '#2b8420',
    950: '#000000',
  },
}
SCSS
$custom: #2b8420;
$custom-light: #71a963;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8420",
  "rgb": {
    "r": 43,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 113.4,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54026,
    "c": 0.15861,
    "h": 141.6
  },
  "luminance": 0.1712
}

Semantic roles & 50–950 ramp

primary
#2B8420
secondary
#AA4AB6
accent
#44E4D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2B8420

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

Preview Lab → · Contrast checker → · Palette generator →

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