#2B6711#2B6711

#2B6711 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.6% C 0.131 H 138.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2B6711
RGBrgb(43, 103, 17)
HSLhsl(102, 72%, 24%)
HSVhsv(102, 83%, 40%)
CMYKcmyk(58.3%, 0%, 83.5%, 59.6%)
CIE-LABlab(38.29, -35.52, 39.17)
CIE-LCHlch(38.29, 52.88, 132.21°)
OKLaboklab(45.63% -0.0981 0.087)
OKLCHoklch(45.63% 0.131 138.4)
XYZxyz(5.9475, 10.2541, 2.1960)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6711 #4D1167
analogous
#566711 #2B6711 #116722
triadic
#2B6711 #112B67 #67112B
tetradic
#2B6711 #115667 #4D1167 #672211
square
#2B6711 #115667 #4D1167 #672211
split-complementary
#2B6711 #221167 #671156
monochromatic
#0B1A04 #153208 #2B6711 #419C1A #57D022

Accessibility & contrast

On white

6.88
#2B6711 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2B6711 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6711
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6711#FFFFFF#000000##FFFFFF
##2B67111.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#63581B
Tritanopia (blue-blind)
#256357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b6711;
/* rgb */ color: rgb(43, 103, 17);
/* oklch */ color: oklch(45.6% 0.131 138.4);
Tailwind
colors: {
  custom: {
    50: '#6c9357',
    500: '#2b6711',
    950: '#000000',
  },
}
SCSS
$custom: #2b6711;
$custom-light: #6c9357;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6711",
  "rgb": {
    "r": 43,
    "g": 103,
    "b": 17
  },
  "hsl": {
    "h": 101.86,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45631,
    "c": 0.13118,
    "h": 138.4
  },
  "luminance": 0.10255
}

Semantic roles & 50–950 ramp

primary
#2B6711
secondary
#7F359F
accent
#39EEB8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #2B6711

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

Preview Lab → · Contrast checker → · Palette generator →

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