#2B8B28#2B8B28

#2B8B28 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.162 H 142.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2B8B28
RGBrgb(43, 139, 40)
HSLhsl(118, 55%, 35%)
HSVhsv(118, 71%, 55%)
CMYKcmyk(69.1%, 0%, 71.2%, 45.5%)
CIE-LABlab(50.84, -47.35, 42.96)
CIE-LCHlch(50.84, 63.93, 137.78°)
OKLaboklab(56.06% -0.1287 0.0983)
OKLCHoklch(56.06% 0.162 142.6)
XYZxyz(10.6113, 19.1309, 5.1405)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8B28 #88288B
analogous
#5C8B28 #2B8B28 #288B57
triadic
#2B8B28 #282B8B #8B282B
tetradic
#2B8B28 #285C8B #88288B #8B5728
square
#2B8B28 #285C8B #88288B #8B5728
split-complementary
#2B8B28 #57288B #8B285C
monochromatic
#0E2C0D #1C5B1A #2B8B28 #3ABB36 #61D05D

Accessibility & contrast

On white

4.35
#2B8B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2B8B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8B28
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8B28#FFFFFF#000000##000000
##2B8B281.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E19
Deuteranopia (green-blind)
#837632
Tritanopia (blue-blind)
#138777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2b8b28;
/* rgb */ color: rgb(43, 139, 40);
/* oklch */ color: oklch(56.1% 0.162 142.6);
Tailwind
colors: {
  custom: {
    50: '#72ae68',
    500: '#2b8b28',
    950: '#000000',
  },
}
SCSS
$custom: #2b8b28;
$custom-light: #72ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8b28",
  "rgb": {
    "r": 43,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 118.182,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56058,
    "c": 0.16194,
    "h": 142.6
  },
  "luminance": 0.19132
}

Semantic roles & 50–950 ramp

primary
#2B8B28
secondary
#B359B6
accent
#49DFDA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8B28

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

Preview Lab → · Contrast checker → · Palette generator →

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