#2B8011#2B8011

#2B8011 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.161 H 140.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2B8011
RGBrgb(43, 128, 17)
HSLhsl(106, 77%, 28%)
HSVhsv(106, 87%, 50%)
CMYKcmyk(66.4%, 0%, 86.7%, 49.8%)
CIE-LABlab(46.96, -45.06, 47.15)
CIE-LCHlch(46.96, 65.22, 133.70°)
OKLaboklab(52.8% -0.1237 0.1038)
OKLCHoklch(52.8% 0.161 140)
XYZxyz(8.8162, 15.9915, 3.1523)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8011 #661180
analogous
#628011 #2B8011 #11802E
triadic
#2B8011 #112B80 #80112B
tetradic
#2B8011 #116280 #661180 #802E11
square
#2B8011 #116280 #661180 #802E11
split-complementary
#2B8011 #2E1180 #801162
monochromatic
#091B04 #194A0A #2B8011 #3DB618 #54E329

Accessibility & contrast

On white

5.00
#2B8011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2B8011 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8011
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8011#FFFFFF#000000##FFFFFF
##2B80111.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#1E7C6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2b8011;
/* rgb */ color: rgb(43, 128, 17);
/* oklch */ color: oklch(52.8% 0.161 140.0);
Tailwind
colors: {
  custom: {
    50: '#71a65b',
    500: '#2b8011',
    950: '#000000',
  },
}
SCSS
$custom: #2b8011;
$custom-light: #71a65b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8011",
  "rgb": {
    "r": 43,
    "g": 128,
    "b": 17
  },
  "hsl": {
    "h": 105.946,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52801,
    "c": 0.16148,
    "h": 140
  },
  "luminance": 0.15992
}

Semantic roles & 50–950 ramp

primary
#2B8011
secondary
#9837B6
accent
#35F3C7
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2B8011

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

Preview Lab → · Contrast checker → · Palette generator →

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