#2B8721#2B8721

#2B8721 is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.9% C 0.162 H 141.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2B8721
RGBrgb(43, 135, 33)
HSLhsl(114, 61%, 33%)
HSVhsv(114, 76%, 53%)
CMYKcmyk(68.1%, 0%, 75.6%, 47.1%)
CIE-LABlab(49.44, -46.53, 44.29)
CIE-LCHlch(49.44, 64.24, 136.41°)
OKLaboklab(54.88% -0.1269 0.1001)
OKLCHoklch(54.88% 0.162 141.7)
XYZxyz(9.9342, 17.9503, 4.3798)
Luminance0.1795 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8721 #7D2187
analogous
#5E8721 #2B8721 #21874A
triadic
#2B8721 #212B87 #87212B
tetradic
#2B8721 #215E87 #7D2187 #874A21
square
#2B8721 #215E87 #7D2187 #874A21
split-complementary
#2B8721 #4A2187 #87215E
monochromatic
#0C2509 #1B5615 #2B8721 #3BB82D #5CD44F

Accessibility & contrast

On white

4.57
#2B8721 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#2B8721 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8721
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8721#FFFFFF#000000##000000
##2B87211.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0E
Deuteranopia (green-blind)
#7F732C
Tritanopia (blue-blind)
#188373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2b8721;
/* rgb */ color: rgb(43, 135, 33);
/* oklch */ color: oklch(54.9% 0.162 141.7);
Tailwind
colors: {
  custom: {
    50: '#72ab63',
    500: '#2b8721',
    950: '#000000',
  },
}
SCSS
$custom: #2b8721;
$custom-light: #72ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8721",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 33
  },
  "hsl": {
    "h": 114.118,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54878,
    "c": 0.16162,
    "h": 141.7
  },
  "luminance": 0.17951
}

Semantic roles & 50–950 ramp

primary
#2B8721
secondary
#AD4DB7
accent
#44E4D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8721

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

Preview Lab → · Contrast checker → · Palette generator →

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