#2B7411#2B7411

#2B7411 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.4% C 0.147 H 139.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#2B7411
RGBrgb(43, 116, 17)
HSLhsl(104, 74%, 26%)
HSVhsv(104, 85%, 45%)
CMYKcmyk(62.9%, 0%, 85.3%, 54.5%)
CIE-LABlab(42.83, -40.63, 43.39)
CIE-LCHlch(42.83, 59.44, 133.12°)
OKLaboklab(49.38% -0.1119 0.0959)
OKLCHoklch(49.38% 0.147 139.4)
XYZxyz(7.3425, 13.0442, 2.6610)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7411 #5A1174
analogous
#5C7411 #2B7411 #117428
triadic
#2B7411 #112B74 #74112B
tetradic
#2B7411 #115C74 #5A1174 #742811
square
#2B7411 #115C74 #5A1174 #742811
split-complementary
#2B7411 #281174 #74115C
monochromatic
#0A1B04 #173F09 #2B7411 #3FA919 #53DE21

Accessibility & contrast

On white

5.82
#2B7411 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2B7411 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7411
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7411#FFFFFF#000000##FFFFFF
##2B74111.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6F631E
Tritanopia (blue-blind)
#227062
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2b7411;
/* rgb */ color: rgb(43, 116, 17);
/* oklch */ color: oklch(49.4% 0.147 139.4);
Tailwind
colors: {
  custom: {
    50: '#6f9d59',
    500: '#2b7411',
    950: '#000000',
  },
}
SCSS
$custom: #2b7411;
$custom-light: #6f9d59;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7411",
  "rgb": {
    "r": 43,
    "g": 116,
    "b": 17
  },
  "hsl": {
    "h": 104.242,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49378,
    "c": 0.14732,
    "h": 139.4
  },
  "luminance": 0.13045
}

Semantic roles & 50–950 ramp

primary
#2B7411
secondary
#8C36AB
accent
#37F1C0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7411

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

Preview Lab → · Contrast checker → · Palette generator →

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