#2B8422#2B8422

#2B8422 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.157 H 141.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2B8422
RGBrgb(43, 132, 34)
HSLhsl(114, 59%, 33%)
HSVhsv(114, 74%, 52%)
CMYKcmyk(67.4%, 0%, 74.2%, 48.2%)
CIE-LABlab(48.42, -45.36, 42.88)
CIE-LCHlch(48.42, 62.42, 136.61°)
OKLaboklab(54.04% -0.1237 0.0973)
OKLCHoklch(54.04% 0.157 141.8)
XYZxyz(9.5357, 17.1306, 4.3171)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8422 #7B2284
analogous
#5C8422 #2B8422 #22844A
triadic
#2B8422 #222B84 #84222B
tetradic
#2B8422 #225C84 #7B2284 #844A22
square
#2B8422 #225C84 #7B2284 #844A22
split-complementary
#2B8422 #4A2284 #84225C
monochromatic
#0B2309 #1B5315 #2B8422 #3BB52F #5BD24F

Accessibility & contrast

On white

4.74
#2B8422 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2B8422 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8422
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8422#FFFFFF#000000##FFFFFF
##2B84221.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877711
Deuteranopia (green-blind)
#7D702C
Tritanopia (blue-blind)
#198071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b8422;
/* rgb */ color: rgb(43, 132, 34);
/* oklch */ color: oklch(54.0% 0.157 141.8);
Tailwind
colors: {
  custom: {
    50: '#71a964',
    500: '#2b8422',
    950: '#000000',
  },
}
SCSS
$custom: #2b8422;
$custom-light: #71a964;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8422",
  "rgb": {
    "r": 43,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 114.49,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54042,
    "c": 0.15736,
    "h": 141.8
  },
  "luminance": 0.17132
}

Semantic roles & 50–950 ramp

primary
#2B8422
secondary
#AB4DB5
accent
#46E2D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8422

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

Preview Lab → · Contrast checker → · Palette generator →

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