#2B7511#2B7511

#2B7511 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.7% C 0.149 H 139.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2B7511
RGBrgb(43, 117, 17)
HSLhsl(104, 75%, 26%)
HSVhsv(104, 85%, 46%)
CMYKcmyk(63.2%, 0%, 85.5%, 54.1%)
CIE-LABlab(43.18, -41.01, 43.71)
CIE-LCHlch(43.18, 59.93, 133.17°)
OKLaboklab(49.67% -0.1129 0.0965)
OKLCHoklch(49.67% 0.149 139.5)
XYZxyz(7.4584, 13.2760, 2.6997)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7511 #5B1175
analogous
#5D7511 #2B7511 #117529
triadic
#2B7511 #112B75 #75112B
tetradic
#2B7511 #115D75 #5B1175 #752911
square
#2B7511 #115D75 #5B1175 #752911
split-complementary
#2B7511 #291175 #75115D
monochromatic
#0A1B04 #174009 #2B7511 #3FAA19 #53DF22

Accessibility & contrast

On white

5.74
#2B7511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#2B7511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7511
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7511#FFFFFF#000000##FFFFFF
##2B75111.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#227163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2b7511;
/* rgb */ color: rgb(43, 117, 17);
/* oklch */ color: oklch(49.7% 0.149 139.5);
Tailwind
colors: {
  custom: {
    50: '#6f9d59',
    500: '#2b7511',
    950: '#000000',
  },
}
SCSS
$custom: #2b7511;
$custom-light: #6f9d59;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7511",
  "rgb": {
    "r": 43,
    "g": 117,
    "b": 17
  },
  "hsl": {
    "h": 104.4,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49665,
    "c": 0.14852,
    "h": 139.5
  },
  "luminance": 0.13277
}

Semantic roles & 50–950 ramp

primary
#2B7511
secondary
#8D36AC
accent
#37F1C1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7511

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

Preview Lab → · Contrast checker → · Palette generator →

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