#2B8112#2B8112

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

Color values

HEX#2B8112
RGBrgb(43, 129, 18)
HSLhsl(106, 76%, 29%)
HSVhsv(106, 86%, 51%)
CMYKcmyk(66.7%, 0%, 86%, 49.4%)
CIE-LABlab(47.31, -45.37, 47.19)
CIE-LCHlch(47.31, 65.46, 133.87°)
OKLaboklab(53.09% -0.1245 0.104)
OKLCHoklch(53.09% 0.162 140.1)
XYZxyz(8.9553, 16.2569, 3.2381)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8112 #681281
analogous
#638112 #2B8112 #128130
triadic
#2B8112 #122B81 #81122B
tetradic
#2B8112 #126381 #681281 #813012
square
#2B8112 #126381 #681281 #813012
split-complementary
#2B8112 #301281 #811263
monochromatic
#091B04 #194B0B #2B8112 #3DB719 #55E22C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B8112#FFFFFF#000000##FFFFFF
##2B81121.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)
#7B6E21
Tritanopia (blue-blind)
#1D7D6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b8112;
/* rgb */ color: rgb(43, 129, 18);
/* oklch */ color: oklch(53.1% 0.162 140.1);
Tailwind
colors: {
  custom: {
    50: '#71a65c',
    500: '#2b8112',
    950: '#000000',
  },
}
SCSS
$custom: #2b8112;
$custom-light: #71a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8112",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 106.486,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53089,
    "c": 0.16224,
    "h": 140.1
  },
  "luminance": 0.16258
}

Semantic roles & 50–950 ramp

primary
#2B8112
secondary
#9A38B7
accent
#36F2C8
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2B8112

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

Preview Lab → · Contrast checker → · Palette generator →

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