#2B9B21#2B9B21

#2B9B21 is a mid, vivid green. Relative luminance 0.241; OKLCH L 60.4% C 0.185 H 141.9°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2B9B21
RGBrgb(43, 155, 33)
HSLhsl(115, 65%, 37%)
HSVhsv(115, 79%, 61%)
CMYKcmyk(72.3%, 0%, 78.7%, 39.2%)
CIE-LABlab(56.15, -53.44, 50.93)
CIE-LCHlch(56.15, 73.82, 136.38°)
OKLaboklab(60.45% -0.1456 0.114)
OKLCHoklch(60.45% 0.185 141.9)
XYZxyz(12.9914, 24.0647, 5.3988)
Luminance0.2407 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B9B21 #91219B
analogous
#689B21 #2B9B21 #219B54
triadic
#2B9B21 #212B9B #9B212B
tetradic
#2B9B21 #21689B #91219B #9B5421
square
#2B9B21 #21689B #91219B #9B5421
split-complementary
#2B9B21 #54219B #9B2168
monochromatic
#0F360C #1D6916 #2B9B21 #39CD2C #65DC5A

Accessibility & contrast

On white

3.61
#2B9B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#2B9B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B9B21
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B9B21#FFFFFF#000000##000000
##2B9B211.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#92832F
Tritanopia (blue-blind)
#089684
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2b9b21;
/* rgb */ color: rgb(43, 155, 33);
/* oklch */ color: oklch(60.4% 0.185 141.9);
Tailwind
colors: {
  custom: {
    50: '#76ba66',
    500: '#2b9b21',
    950: '#000000',
  },
}
SCSS
$custom: #2b9b21;
$custom-light: #76ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#2b9b21",
  "rgb": {
    "r": 43,
    "g": 155,
    "b": 33
  },
  "hsl": {
    "h": 115.082,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60449,
    "c": 0.18487,
    "h": 141.9
  },
  "luminance": 0.24066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B9B21

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

Preview Lab → · Contrast checker → · Palette generator →

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