#2B6016#2B6016

#2B6016 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.6% C 0.119 H 138.4°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#2B6016
RGBrgb(43, 96, 22)
HSLhsl(103, 63%, 23%)
HSVhsv(103, 77%, 38%)
CMYKcmyk(55.2%, 0%, 77.1%, 62.4%)
CIE-LABlab(35.86, -32.24, 34.92)
CIE-LCHlch(35.86, 47.52, 132.72°)
OKLaboklab(43.64% -0.089 0.0789)
OKLCHoklch(43.64% 0.119 138.4)
XYZxyz(5.3238, 8.9369, 2.2034)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6016 #4B1660
analogous
#506016 #2B6016 #166026
triadic
#2B6016 #162B60 #60162B
tetradic
#2B6016 #165060 #4B1660 #602616
square
#2B6016 #165060 #4B1660 #602616
split-complementary
#2B6016 #261660 #601650
monochromatic
#0B1906 #152E0B #2B6016 #419221 #58C42D

Accessibility & contrast

On white

7.53
#2B6016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2B6016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B6016
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6016#FFFFFF#000000##FFFFFF
##2B60161.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635709
Deuteranopia (green-blind)
#5C531D
Tritanopia (blue-blind)
#275C52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b6016;
/* rgb */ color: rgb(43, 96, 22);
/* oklch */ color: oklch(43.6% 0.119 138.4);
Tailwind
colors: {
  custom: {
    50: '#6b8e59',
    500: '#2b6016',
    950: '#000000',
  },
}
SCSS
$custom: #2b6016;
$custom-light: #6b8e59;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6016",
  "rgb": {
    "r": 43,
    "g": 96,
    "b": 22
  },
  "hsl": {
    "h": 102.973,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43637,
    "c": 0.11894,
    "h": 138.4
  },
  "luminance": 0.08937
}

Semantic roles & 50–950 ramp

primary
#2B6016
secondary
#7D3B97
accent
#42E6B7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2B6016

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

Preview Lab → · Contrast checker → · Palette generator →

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