#2B8A21#2B8A21

#2B8A21 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.165 H 141.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2B8A21
RGBrgb(43, 138, 33)
HSLhsl(114, 61%, 34%)
HSVhsv(114, 76%, 54%)
CMYKcmyk(68.8%, 0%, 76.1%, 45.9%)
CIE-LABlab(50.45, -47.60, 45.31)
CIE-LCHlch(50.45, 65.72, 136.41°)
OKLaboklab(55.72% -0.1298 0.1022)
OKLCHoklch(55.72% 0.165 141.8)
XYZxyz(10.3587, 18.7993, 4.5213)
Luminance0.1880 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8A21 #80218A
analogous
#5F8A21 #2B8A21 #218A4B
triadic
#2B8A21 #212B8A #8A212B
tetradic
#2B8A21 #215F8A #80218A #8A4B21
square
#2B8A21 #215F8A #80218A #8A4B21
split-complementary
#2B8A21 #4B218A #8A215F
monochromatic
#0C2709 #1C5915 #2B8A21 #3ABB2D #5DD550

Accessibility & contrast

On white

4.41
#2B8A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#2B8A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8A21
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8A21#FFFFFF#000000##000000
##2B8A211.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D0C
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#168676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b8a21;
/* rgb */ color: rgb(43, 138, 33);
/* oklch */ color: oklch(55.7% 0.165 141.8);
Tailwind
colors: {
  custom: {
    50: '#73ad64',
    500: '#2b8a21',
    950: '#000000',
  },
}
SCSS
$custom: #2b8a21;
$custom-light: #73ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8a21",
  "rgb": {
    "r": 43,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 114.286,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55719,
    "c": 0.16522,
    "h": 141.8
  },
  "luminance": 0.188
}

Semantic roles & 50–950 ramp

primary
#2B8A21
secondary
#AE4EB9
accent
#43E5D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8A21

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

Preview Lab → · Contrast checker → · Palette generator →

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