#2B8520#2B8520

#2B8520 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.160 H 141.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2B8520
RGBrgb(43, 133, 32)
HSLhsl(113, 61%, 32%)
HSVhsv(113, 76%, 52%)
CMYKcmyk(67.7%, 0%, 75.9%, 47.8%)
CIE-LABlab(48.75, -45.89, 43.98)
CIE-LCHlch(48.75, 63.56, 136.22°)
OKLaboklab(54.31% -0.1252 0.0993)
OKLCHoklch(54.31% 0.16 141.6)
XYZxyz(9.6440, 17.3920, 4.2150)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8520 #7A2085
analogous
#5E8520 #2B8520 #208547
triadic
#2B8520 #202B85 #85202B
tetradic
#2B8520 #205E85 #7A2085 #854720
square
#2B8520 #205E85 #7A2085 #854720
split-complementary
#2B8520 #472085 #85205E
monochromatic
#0B2208 #1B5414 #2B8520 #3BB62C #5AD44C

Accessibility & contrast

On white

4.69
#2B8520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2B8520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8520
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8520#FFFFFF#000000##FFFFFF
##2B85201.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780C
Deuteranopia (green-blind)
#7E712B
Tritanopia (blue-blind)
#198171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2b8520;
/* rgb */ color: rgb(43, 133, 32);
/* oklch */ color: oklch(54.3% 0.160 141.6);
Tailwind
colors: {
  custom: {
    50: '#72a963',
    500: '#2b8520',
    950: '#000000',
  },
}
SCSS
$custom: #2b8520;
$custom-light: #72a963;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8520",
  "rgb": {
    "r": 43,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 113.465,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54307,
    "c": 0.15982,
    "h": 141.6
  },
  "luminance": 0.17393
}

Semantic roles & 50–950 ramp

primary
#2B8520
secondary
#AB4AB7
accent
#43E4D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2B8520

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

Preview Lab → · Contrast checker → · Palette generator →

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