#2B8B1B#2B8B1B

#2B8B1B is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.170 H 141.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2B8B1B
RGBrgb(43, 139, 27)
HSLhsl(111, 67%, 33%)
HSVhsv(111, 81%, 55%)
CMYKcmyk(69.1%, 0%, 80.6%, 45.5%)
CIE-LABlab(50.75, -48.38, 47.70)
CIE-LCHlch(50.75, 67.94, 135.41°)
OKLaboklab(55.96% -0.1322 0.1064)
OKLCHoklch(55.96% 0.17 141.2)
XYZxyz(10.4262, 19.0569, 4.1656)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8B1B #7B1B8B
analogous
#638B1B #2B8B1B #1B8B43
triadic
#2B8B1B #1B2B8B #8B1B2B
tetradic
#2B8B1B #1B638B #7B1B8B #8B431B
square
#2B8B1B #1B638B #7B1B8B #8B431B
split-complementary
#2B8B1B #431B8B #8B1B63
monochromatic
#0B2507 #1B5811 #2B8B1B #3BBE25 #5BDB45

Accessibility & contrast

On white

4.36
#2B8B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#2B8B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8B1B
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8B1B#FFFFFF#000000##000000
##2B8B1B1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#837628
Tritanopia (blue-blind)
#178676
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2b8b1b;
/* rgb */ color: rgb(43, 139, 27);
/* oklch */ color: oklch(56.0% 0.170 141.2);
Tailwind
colors: {
  custom: {
    50: '#73ae61',
    500: '#2b8b1b',
    950: '#000000',
  },
}
SCSS
$custom: #2b8b1b;
$custom-light: #73ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8b1b",
  "rgb": {
    "r": 43,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 111.429,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55958,
    "c": 0.16968,
    "h": 141.2
  },
  "luminance": 0.19058
}

Semantic roles & 50–950 ramp

primary
#2B8B1B
secondary
#AB45BC
accent
#3DEAD2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2B8B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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