#2B8622#2B8622

#2B8622 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.160 H 141.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2B8622
RGBrgb(43, 134, 34)
HSLhsl(115, 60%, 33%)
HSVhsv(115, 75%, 53%)
CMYKcmyk(67.9%, 0%, 74.6%, 47.5%)
CIE-LABlab(49.10, -46.08, 43.57)
CIE-LCHlch(49.10, 63.42, 136.60°)
OKLaboklab(54.61% -0.1256 0.0988)
OKLCHoklch(54.61% 0.16 141.8)
XYZxyz(9.8096, 17.6783, 4.4083)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8622 #7D2286
analogous
#5D8622 #2B8622 #22864B
triadic
#2B8622 #222B86 #86222B
tetradic
#2B8622 #225D86 #7D2286 #864B22
square
#2B8622 #225D86 #7D2286 #864B22
split-complementary
#2B8622 #4B2286 #86225D
monochromatic
#0C2409 #1B5516 #2B8622 #3BB72E #5CD350

Accessibility & contrast

On white

4.63
#2B8622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2B8622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8622
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8622#FFFFFF#000000##FFFFFF
##2B86221.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897910
Deuteranopia (green-blind)
#7E722C
Tritanopia (blue-blind)
#188272
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2b8622;
/* rgb */ color: rgb(43, 134, 34);
/* oklch */ color: oklch(54.6% 0.160 141.8);
Tailwind
colors: {
  custom: {
    50: '#72aa64',
    500: '#2b8622',
    950: '#000000',
  },
}
SCSS
$custom: #2b8622;
$custom-light: #72aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8622",
  "rgb": {
    "r": 43,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 114.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54605,
    "c": 0.1598,
    "h": 141.8
  },
  "luminance": 0.17679
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B8622

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

Preview Lab → · Contrast checker → · Palette generator →

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