#2B6811#2B6811

#2B6811 is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.9% C 0.132 H 138.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#2B6811
RGBrgb(43, 104, 17)
HSLhsl(102, 72%, 24%)
HSVhsv(102, 84%, 41%)
CMYKcmyk(58.7%, 0%, 83.7%, 59.2%)
CIE-LABlab(38.65, -35.93, 39.50)
CIE-LCHlch(38.65, 53.40, 132.29°)
OKLaboklab(45.92% -0.0992 0.0877)
OKLCHoklch(45.92% 0.132 138.5)
XYZxyz(6.0475, 10.4542, 2.2294)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6811 #4E1168
analogous
#566811 #2B6811 #116822
triadic
#2B6811 #112B68 #68112B
tetradic
#2B6811 #115668 #4E1168 #682211
square
#2B6811 #115668 #4E1168 #682211
split-complementary
#2B6811 #221168 #681156
monochromatic
#0B1A04 #153308 #2B6811 #419D1A #56D122

Accessibility & contrast

On white

6.79
#2B6811 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2B6811 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6811
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6811#FFFFFF#000000##FFFFFF
##2B68111.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#64591B
Tritanopia (blue-blind)
#256458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b6811;
/* rgb */ color: rgb(43, 104, 17);
/* oklch */ color: oklch(45.9% 0.132 138.5);
Tailwind
colors: {
  custom: {
    50: '#6c9457',
    500: '#2b6811',
    950: '#000000',
  },
}
SCSS
$custom: #2b6811;
$custom-light: #6c9457;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6811",
  "rgb": {
    "r": 43,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 102.069,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45921,
    "c": 0.13245,
    "h": 138.5
  },
  "luminance": 0.10455
}

Semantic roles & 50–950 ramp

primary
#2B6811
secondary
#8035A0
accent
#39EFB8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #2B6811

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

Preview Lab → · Contrast checker → · Palette generator →

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