#2B9821#2B9821

#2B9821 is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.6% C 0.181 H 141.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#2B9821
RGBrgb(43, 152, 33)
HSLhsl(115, 64%, 36%)
HSVhsv(115, 78%, 60%)
CMYKcmyk(71.7%, 0%, 78.3%, 40.4%)
CIE-LABlab(55.15, -52.44, 49.96)
CIE-LCHlch(55.15, 72.42, 136.39°)
OKLaboklab(59.62% -0.1429 0.1119)
OKLCHoklch(59.62% 0.181 141.9)
XYZxyz(12.4983, 23.0785, 5.2345)
Luminance0.2308 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B9821 #8E2198
analogous
#679821 #2B9821 #219853
triadic
#2B9821 #212B98 #98212B
tetradic
#2B9821 #216798 #8E2198 #985321
square
#2B9821 #216798 #8E2198 #985321
split-complementary
#2B9821 #532198 #982167
monochromatic
#0F330B #1D6616 #2B9821 #39CA2C #63DB59

Accessibility & contrast

On white

3.74
#2B9821 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#2B9821 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B9821
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B9821#FFFFFF#000000##000000
##2B98211.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8903
Deuteranopia (green-blind)
#8F812F
Tritanopia (blue-blind)
#0C9382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2b9821;
/* rgb */ color: rgb(43, 152, 33);
/* oklch */ color: oklch(59.6% 0.181 141.9);
Tailwind
colors: {
  custom: {
    50: '#76b766',
    500: '#2b9821',
    950: '#000000',
  },
}
SCSS
$custom: #2b9821;
$custom-light: #76b766;
$custom-dark: #000000;
JSON
{
  "hex": "#2b9821",
  "rgb": {
    "r": 43,
    "g": 152,
    "b": 33
  },
  "hsl": {
    "h": 114.958,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59619,
    "c": 0.18149,
    "h": 141.9
  },
  "luminance": 0.2308
}

Semantic roles & 50–950 ramp

primary
#2B9821
secondary
#B656BF
accent
#40E7D9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2B9821

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

Preview Lab → · Contrast checker → · Palette generator →

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