#2B9A21#2B9A21

#2B9A21 is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.2% C 0.184 H 141.9°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#2B9A21
RGBrgb(43, 154, 33)
HSLhsl(115, 65%, 37%)
HSVhsv(115, 79%, 60%)
CMYKcmyk(72.1%, 0%, 78.6%, 39.6%)
CIE-LABlab(55.82, -53.11, 50.60)
CIE-LCHlch(55.82, 73.36, 136.38°)
OKLaboklab(60.17% -0.1447 0.1133)
OKLCHoklch(60.17% 0.184 141.9)
XYZxyz(12.8256, 23.7332, 5.3436)
Luminance0.2374 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B9A21 #90219A
analogous
#689A21 #2B9A21 #219A54
triadic
#2B9A21 #212B9A #9A212B
tetradic
#2B9A21 #21689A #90219A #9A5421
square
#2B9A21 #21689A #90219A #9A5421
split-complementary
#2B9A21 #54219A #9A2168
monochromatic
#0F350B #1D6816 #2B9A21 #39CC2C #65DC5A

Accessibility & contrast

On white

3.65
#2B9A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#2B9A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B9A21
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B9A21#FFFFFF#000000##000000
##2B9A211.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B01
Deuteranopia (green-blind)
#91822F
Tritanopia (blue-blind)
#099583
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2b9a21;
/* rgb */ color: rgb(43, 154, 33);
/* oklch */ color: oklch(60.2% 0.184 141.9);
Tailwind
colors: {
  custom: {
    50: '#76b966',
    500: '#2b9a21',
    950: '#000000',
  },
}
SCSS
$custom: #2b9a21;
$custom-light: #76b966;
$custom-dark: #000000;
JSON
{
  "hex": "#2b9a21",
  "rgb": {
    "r": 43,
    "g": 154,
    "b": 33
  },
  "hsl": {
    "h": 115.041,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60172,
    "c": 0.18375,
    "h": 141.9
  },
  "luminance": 0.23735
}

Semantic roles & 50–950 ramp

primary
#2B9A21
secondary
#B757C0
accent
#40E8DA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2B9A21

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

Preview Lab → · Contrast checker → · Palette generator →

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