#2B8D21#2B8D21

#2B8D21 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.169 H 141.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2B8D21
RGBrgb(43, 141, 33)
HSLhsl(114, 62%, 34%)
HSVhsv(114, 77%, 55%)
CMYKcmyk(69.5%, 0%, 76.6%, 44.7%)
CIE-LABlab(51.46, -48.65, 46.33)
CIE-LCHlch(51.46, 67.18, 136.40°)
OKLaboklab(56.56% -0.1326 0.1044)
OKLCHoklch(56.56% 0.169 141.8)
XYZxyz(10.7951, 19.6720, 4.6667)
Luminance0.1967 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8D21 #83218D
analogous
#618D21 #2B8D21 #218D4D
triadic
#2B8D21 #212B8D #8D212B
tetradic
#2B8D21 #21618D #83218D #8D4D21
square
#2B8D21 #21618D #83218D #8D4D21
split-complementary
#2B8D21 #4D218D #8D2161
monochromatic
#0D2A0A #1C5B15 #2B8D21 #3ABF2D #5ED652

Accessibility & contrast

On white

4.26
#2B8D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#2B8D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8D21
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8D21#FFFFFF#000000##000000
##2B8D211.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0A
Deuteranopia (green-blind)
#85782D
Tritanopia (blue-blind)
#148978
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2b8d21;
/* rgb */ color: rgb(43, 141, 33);
/* oklch */ color: oklch(56.6% 0.169 141.8);
Tailwind
colors: {
  custom: {
    50: '#73af64',
    500: '#2b8d21',
    950: '#000000',
  },
}
SCSS
$custom: #2b8d21;
$custom-light: #73af64;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8d21",
  "rgb": {
    "r": 43,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 114.444,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56559,
    "c": 0.16877,
    "h": 141.8
  },
  "luminance": 0.19673
}

Semantic roles & 50–950 ramp

primary
#2B8D21
secondary
#B050BA
accent
#43E5D6
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8D21

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

Preview Lab → · Contrast checker → · Palette generator →

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