#2B8020#2B8020

#2B8020 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.154 H 141.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2B8020
RGBrgb(43, 128, 32)
HSLhsl(113, 60%, 31%)
HSVhsv(113, 75%, 50%)
CMYKcmyk(66.4%, 0%, 75%, 49.8%)
CIE-LABlab(47.05, -44.06, 42.26)
CIE-LCHlch(47.05, 61.05, 136.20°)
OKLaboklab(52.9% -0.1203 0.0957)
OKLCHoklch(52.9% 0.154 141.5)
XYZxyz(8.9757, 16.0553, 3.9922)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8020 #752080
analogous
#5B8020 #2B8020 #208045
triadic
#2B8020 #202B80 #80202B
tetradic
#2B8020 #205B80 #752080 #804520
square
#2B8020 #205B80 #752080 #804520
split-complementary
#2B8020 #452080 #80205B
monochromatic
#0A1E08 #1B4F14 #2B8020 #3BB12C #59D149

Accessibility & contrast

On white

4.99
#2B8020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2B8020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8020
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8020#FFFFFF#000000##FFFFFF
##2B80201.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83740F
Deuteranopia (green-blind)
#796D2A
Tritanopia (blue-blind)
#1B7C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b8020;
/* rgb */ color: rgb(43, 128, 32);
/* oklch */ color: oklch(52.9% 0.154 141.5);
Tailwind
colors: {
  custom: {
    50: '#70a662',
    500: '#2b8020',
    950: '#000000',
  },
}
SCSS
$custom: #2b8020;
$custom-light: #70a662;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8020",
  "rgb": {
    "r": 43,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 113.125,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52897,
    "c": 0.15373,
    "h": 141.5
  },
  "luminance": 0.16056
}

Semantic roles & 50–950 ramp

primary
#2B8020
secondary
#A749B3
accent
#45E3D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2B8020

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

Preview Lab → · Contrast checker → · Palette generator →

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