#2B6816#2B6816

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

Color values

HEX#2B6816
RGBrgb(43, 104, 22)
HSLhsl(105, 65%, 25%)
HSVhsv(105, 79%, 41%)
CMYKcmyk(58.7%, 0%, 78.8%, 59.2%)
CIE-LABlab(38.68, -35.58, 37.74)
CIE-LCHlch(38.68, 51.87, 133.32°)
OKLaboklab(45.96% -0.098 0.0848)
OKLCHoklch(45.96% 0.13 139.1)
XYZxyz(6.0911, 10.4716, 2.4591)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6816 #531668
analogous
#546816 #2B6816 #16682A
triadic
#2B6816 #162B68 #68162B
tetradic
#2B6816 #165468 #531668 #682A16
square
#2B6816 #165468 #531668 #682A16
split-complementary
#2B6816 #2A1668 #681654
monochromatic
#0A1905 #16350B #2B6816 #409B21 #55CD2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B6816#FFFFFF#000000##FFFFFF
##2B68161.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)
#6B5E06
Deuteranopia (green-blind)
#64591F
Tritanopia (blue-blind)
#256458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b6816;
/* rgb */ color: rgb(43, 104, 22);
/* oklch */ color: oklch(46.0% 0.130 139.1);
Tailwind
colors: {
  custom: {
    50: '#6c945a',
    500: '#2b6816',
    950: '#000000',
  },
}
SCSS
$custom: #2b6816;
$custom-light: #6c945a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6816",
  "rgb": {
    "r": 43,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 104.634,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45956,
    "c": 0.12961,
    "h": 139.1
  },
  "luminance": 0.10472
}

Semantic roles & 50–950 ramp

primary
#2B6816
secondary
#853B9F
accent
#40E8BD
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2B6816

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

Preview Lab → · Contrast checker → · Palette generator →

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