#2B8A1B#2B8A1B

#2B8A1B is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.169 H 141.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2B8A1B
RGBrgb(43, 138, 27)
HSLhsl(111, 67%, 32%)
HSVhsv(111, 80%, 54%)
CMYKcmyk(68.8%, 0%, 80.4%, 45.9%)
CIE-LABlab(50.42, -48.03, 47.38)
CIE-LCHlch(50.42, 67.47, 135.39°)
OKLaboklab(55.68% -0.1313 0.1057)
OKLCHoklch(55.68% 0.169 141.2)
XYZxyz(10.2820, 18.7686, 4.1175)
Luminance0.1877 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8A1B #7A1B8A
analogous
#638A1B #2B8A1B #1B8A42
triadic
#2B8A1B #1B2B8A #8A1B2B
tetradic
#2B8A1B #1B638A #7A1B8A #8A421B
square
#2B8A1B #1B638A #7A1B8A #8A421B
split-complementary
#2B8A1B #421B8A #8A1B63
monochromatic
#0B2407 #1B5711 #2B8A1B #3BBD25 #5ADB45

Accessibility & contrast

On white

4.42
#2B8A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#2B8A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8A1B
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8A1B#FFFFFF#000000##000000
##2B8A1B1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#837528
Tritanopia (blue-blind)
#188575
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b8a1b;
/* rgb */ color: rgb(43, 138, 27);
/* oklch */ color: oklch(55.7% 0.169 141.2);
Tailwind
colors: {
  custom: {
    50: '#73ad61',
    500: '#2b8a1b',
    950: '#000000',
  },
}
SCSS
$custom: #2b8a1b;
$custom-light: #73ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8a1b",
  "rgb": {
    "r": 43,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 111.351,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55678,
    "c": 0.16852,
    "h": 141.2
  },
  "luminance": 0.1877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B8A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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