#2B9521#2B9521

#2B9521 is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.8% C 0.178 H 141.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2B9521
RGBrgb(43, 149, 33)
HSLhsl(115, 64%, 36%)
HSVhsv(115, 78%, 58%)
CMYKcmyk(71.1%, 0%, 77.9%, 41.6%)
CIE-LABlab(54.15, -51.42, 48.98)
CIE-LCHlch(54.15, 71.01, 136.39°)
OKLaboklab(58.79% -0.1401 0.1099)
OKLCHoklch(58.79% 0.178 141.9)
XYZxyz(12.0175, 22.1170, 5.0742)
Luminance0.2212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B9521 #8B2195
analogous
#659521 #2B9521 #219551
triadic
#2B9521 #212B95 #95212B
tetradic
#2B9521 #216595 #8B2195 #955121
square
#2B9521 #216595 #8B2195 #955121
split-complementary
#2B9521 #512195 #952165
monochromatic
#0E310B #1D6316 #2B9521 #39C72C #62DA57

Accessibility & contrast

On white

3.87
#2B9521 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#2B9521 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B9521
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B9521#FFFFFF#000000##000000
##2B95211.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998705
Deuteranopia (green-blind)
#8C7E2E
Tritanopia (blue-blind)
#0E907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2b9521;
/* rgb */ color: rgb(43, 149, 33);
/* oklch */ color: oklch(58.8% 0.178 141.9);
Tailwind
colors: {
  custom: {
    50: '#75b565',
    500: '#2b9521',
    950: '#000000',
  },
}
SCSS
$custom: #2b9521;
$custom-light: #75b565;
$custom-dark: #000000;
JSON
{
  "hex": "#2b9521",
  "rgb": {
    "r": 43,
    "g": 149,
    "b": 33
  },
  "hsl": {
    "h": 114.828,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58787,
    "c": 0.17806,
    "h": 141.9
  },
  "luminance": 0.22118
}

Semantic roles & 50–950 ramp

primary
#2B9521
secondary
#B554BE
accent
#41E7D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2B9521

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

Preview Lab → · Contrast checker → · Palette generator →

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