#2B6516#2B6516

#2B6516 is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.1% C 0.126 H 138.9°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#2B6516
RGBrgb(43, 101, 22)
HSLhsl(104, 64%, 24%)
HSVhsv(104, 78%, 40%)
CMYKcmyk(57.4%, 0%, 78.2%, 60.4%)
CIE-LABlab(37.62, -34.35, 36.69)
CIE-LCHlch(37.62, 50.26, 133.11°)
OKLaboklab(45.09% -0.0947 0.0826)
OKLCHoklch(45.09% 0.126 138.9)
XYZxyz(5.7945, 9.8784, 2.3603)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6516 #501665
analogous
#536516 #2B6516 #166529
triadic
#2B6516 #162B65 #65162B
tetradic
#2B6516 #165365 #501665 #652916
square
#2B6516 #165365 #501665 #652916
split-complementary
#2B6516 #291665 #651653
monochromatic
#0B1905 #16330B #2B6516 #409721 #56CA2C

Accessibility & contrast

On white

7.06
#2B6516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2B6516 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B6516
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6516#FFFFFF#000000##FFFFFF
##2B65161.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C07
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#256156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b6516;
/* rgb */ color: rgb(43, 101, 22);
/* oklch */ color: oklch(45.1% 0.126 138.9);
Tailwind
colors: {
  custom: {
    50: '#6b9159',
    500: '#2b6516',
    950: '#000000',
  },
}
SCSS
$custom: #2b6516;
$custom-light: #6b9159;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6516",
  "rgb": {
    "r": 43,
    "g": 101,
    "b": 22
  },
  "hsl": {
    "h": 104.051,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45088,
    "c": 0.12566,
    "h": 138.9
  },
  "luminance": 0.09879
}

Semantic roles & 50–950 ramp

primary
#2B6516
secondary
#823B9C
accent
#41E7BB
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2B6516

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

Preview Lab → · Contrast checker → · Palette generator →

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