#2B8521#2B8521

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

Color values

HEX#2B8521
RGBrgb(43, 133, 33)
HSLhsl(114, 60%, 33%)
HSVhsv(114, 75%, 52%)
CMYKcmyk(67.7%, 0%, 75.2%, 47.8%)
CIE-LABlab(48.76, -45.81, 43.61)
CIE-LCHlch(48.76, 63.24, 136.41°)
OKLaboklab(54.32% -0.1249 0.0987)
OKLCHoklch(54.32% 0.159 141.7)
XYZxyz(9.6578, 17.3975, 4.2876)
Luminance0.1740 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8521 #7B2185
analogous
#5D8521 #2B8521 #218549
triadic
#2B8521 #212B85 #85212B
tetradic
#2B8521 #215D85 #7B2185 #854921
square
#2B8521 #215D85 #7B2185 #854921
split-complementary
#2B8521 #492185 #85215D
monochromatic
#0B2309 #1B5415 #2B8521 #3BB62D #5BD34D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B8521#FFFFFF#000000##FFFFFF
##2B85211.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)
#88780F
Deuteranopia (green-blind)
#7E712B
Tritanopia (blue-blind)
#198172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2b8521;
/* rgb */ color: rgb(43, 133, 33);
/* oklch */ color: oklch(54.3% 0.159 141.7);
Tailwind
colors: {
  custom: {
    50: '#71a963',
    500: '#2b8521',
    950: '#000000',
  },
}
SCSS
$custom: #2b8521;
$custom-light: #71a963;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8521",
  "rgb": {
    "r": 43,
    "g": 133,
    "b": 33
  },
  "hsl": {
    "h": 114,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54315,
    "c": 0.1592,
    "h": 141.7
  },
  "luminance": 0.17398
}

Semantic roles & 50–950 ramp

primary
#2B8521
secondary
#AB4CB6
accent
#44E3D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8521

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

Preview Lab → · Contrast checker → · Palette generator →

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