#2B8722#2B8722

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

Color values

HEX#2B8722
RGBrgb(43, 135, 34)
HSLhsl(115, 60%, 33%)
HSVhsv(115, 75%, 53%)
CMYKcmyk(68.1%, 0%, 74.8%, 47.1%)
CIE-LABlab(49.44, -46.44, 43.92)
CIE-LCHlch(49.44, 63.92, 136.60°)
OKLaboklab(54.89% -0.1266 0.0995)
OKLCHoklch(54.89% 0.161 141.8)
XYZxyz(9.9484, 17.9560, 4.4546)
Luminance0.1796 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8722 #7E2287
analogous
#5E8722 #2B8722 #22874B
triadic
#2B8722 #222B87 #87222B
tetradic
#2B8722 #225E87 #7E2287 #874B22
square
#2B8722 #225E87 #7E2287 #874B22
split-complementary
#2B8722 #4B2287 #87225E
monochromatic
#0C2509 #1B5616 #2B8722 #3BB82E #5CD350

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B8722#FFFFFF#000000##000000
##2B87221.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)
#8A7A10
Deuteranopia (green-blind)
#7F732C
Tritanopia (blue-blind)
#188373
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2b8722;
/* rgb */ color: rgb(43, 135, 34);
/* oklch */ color: oklch(54.9% 0.161 141.8);
Tailwind
colors: {
  custom: {
    50: '#72ab64',
    500: '#2b8722',
    950: '#000000',
  },
}
SCSS
$custom: #2b8722;
$custom-light: #72ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8722",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 114.653,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54886,
    "c": 0.161,
    "h": 141.8
  },
  "luminance": 0.17957
}

Semantic roles & 50–950 ramp

primary
#2B8722
secondary
#AD4EB7
accent
#45E3D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8722

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

Preview Lab → · Contrast checker → · Palette generator →

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