#2B8115#2B8115

#2B8115 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.161 H 140.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2B8115
RGBrgb(43, 129, 21)
HSLhsl(108, 72%, 29%)
HSVhsv(108, 84%, 51%)
CMYKcmyk(66.7%, 0%, 83.7%, 49.4%)
CIE-LABlab(47.32, -45.21, 46.35)
CIE-LCHlch(47.32, 64.74, 134.29°)
OKLaboklab(53.11% -0.1239 0.1027)
OKLCHoklch(53.11% 0.161 140.4)
XYZxyz(8.9814, 16.2674, 3.3759)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8115 #6B1581
analogous
#618115 #2B8115 #158135
triadic
#2B8115 #152B81 #81152B
tetradic
#2B8115 #156181 #6B1581 #813515
square
#2B8115 #156181 #6B1581 #813515
split-complementary
#2B8115 #351581 #811561
monochromatic
#091A04 #194C0C #2B8115 #3DB61E #56DE33

Accessibility & contrast

On white

4.94
#2B8115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#2B8115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8115
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8115#FFFFFF#000000##FFFFFF
##2B81151.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#7A6E23
Tritanopia (blue-blind)
#1D7D6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b8115;
/* rgb */ color: rgb(43, 129, 21);
/* oklch */ color: oklch(53.1% 0.161 140.4);
Tailwind
colors: {
  custom: {
    50: '#71a65d',
    500: '#2b8115',
    950: '#000000',
  },
}
SCSS
$custom: #2b8115;
$custom-light: #71a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8115",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 107.778,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53105,
    "c": 0.16094,
    "h": 140.4
  },
  "luminance": 0.16268
}

Semantic roles & 50–950 ramp

primary
#2B8115
secondary
#9D3CB6
accent
#39EFCA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2B8115

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

Preview Lab → · Contrast checker → · Palette generator →

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