#2B9822#2B9822

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

Color values

HEX#2B9822
RGBrgb(43, 152, 34)
HSLhsl(115, 63%, 36%)
HSVhsv(115, 78%, 60%)
CMYKcmyk(71.7%, 0%, 77.6%, 40.4%)
CIE-LABlab(55.16, -52.37, 49.62)
CIE-LCHlch(55.16, 72.14, 136.54°)
OKLaboklab(59.63% -0.1426 0.1114)
OKLCHoklch(59.63% 0.181 142)
XYZxyz(12.5125, 23.0842, 5.3093)
Luminance0.2309 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B9822 #8F2298
analogous
#669822 #2B9822 #229854
triadic
#2B9822 #222B98 #98222B
tetradic
#2B9822 #226698 #8F2298 #985422
square
#2B9822 #226698 #8F2298 #985422
split-complementary
#2B9822 #542298 #982266
monochromatic
#0F340C #1D6617 #2B9822 #39CA2D #64DA5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B9822#FFFFFF#000000##000000
##2B98221.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)
#9C8905
Deuteranopia (green-blind)
#8F812F
Tritanopia (blue-blind)
#0B9382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2b9822;
/* rgb */ color: rgb(43, 152, 34);
/* oklch */ color: oklch(59.6% 0.181 142.0);
Tailwind
colors: {
  custom: {
    50: '#76b766',
    500: '#2b9822',
    950: '#000000',
  },
}
SCSS
$custom: #2b9822;
$custom-light: #76b766;
$custom-dark: #000000;
JSON
{
  "hex": "#2b9822",
  "rgb": {
    "r": 43,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 115.424,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59626,
    "c": 0.18095,
    "h": 142
  },
  "luminance": 0.23086
}

Semantic roles & 50–950 ramp

primary
#2B9822
secondary
#B757BE
accent
#41E6DA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2B9822

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

Preview Lab → · Contrast checker → · Palette generator →

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