#2B8E21#2B8E21

#2B8E21 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.170 H 141.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2B8E21
RGBrgb(43, 142, 33)
HSLhsl(114, 62%, 34%)
HSVhsv(114, 77%, 56%)
CMYKcmyk(69.7%, 0%, 76.8%, 44.3%)
CIE-LABlab(51.80, -49.00, 46.66)
CIE-LCHlch(51.80, 67.67, 136.40°)
OKLaboklab(56.84% -0.1336 0.1051)
OKLCHoklch(56.84% 0.17 141.8)
XYZxyz(10.9432, 19.9682, 4.7161)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8E21 #84218E
analogous
#628E21 #2B8E21 #218E4D
triadic
#2B8E21 #212B8E #8E212B
tetradic
#2B8E21 #21628E #84218E #8E4D21
square
#2B8E21 #21628E #84218E #8E4D21
split-complementary
#2B8E21 #4D218E #8E2162
monochromatic
#0D2B0A #1C5C15 #2B8E21 #3AC02D #5FD752

Accessibility & contrast

On white

4.21
#2B8E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#2B8E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8E21
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8E21#FFFFFF#000000##000000
##2B8E211.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800A
Deuteranopia (green-blind)
#86782D
Tritanopia (blue-blind)
#148979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2b8e21;
/* rgb */ color: rgb(43, 142, 33);
/* oklch */ color: oklch(56.8% 0.170 141.8);
Tailwind
colors: {
  custom: {
    50: '#73b064',
    500: '#2b8e21',
    950: '#000000',
  },
}
SCSS
$custom: #2b8e21;
$custom-light: #73b064;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8e21",
  "rgb": {
    "r": 43,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 114.495,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56838,
    "c": 0.16994,
    "h": 141.8
  },
  "luminance": 0.19969
}

Semantic roles & 50–950 ramp

primary
#2B8E21
secondary
#B150BA
accent
#42E5D6
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2B8E21

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

Preview Lab → · Contrast checker → · Palette generator →

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