#2B5716#2B5716

#2B5716 is a dark, moderate green. Relative luminance 0.074; OKLCH L 41.0% C 0.106 H 137.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#2B5716
RGBrgb(43, 87, 22)
HSLhsl(101, 60%, 21%)
HSVhsv(101, 75%, 34%)
CMYKcmyk(50.6%, 0%, 74.7%, 65.9%)
CIE-LABlab(32.67, -28.26, 31.64)
CIE-LCHlch(32.67, 42.42, 131.78°)
OKLaboklab(41.02% -0.0782 0.0721)
OKLCHoklch(41.02% 0.106 137.3)
XYZxyz(4.5491, 7.3876, 1.9451)
Luminance0.0739 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5716 #421657
analogous
#4C5716 #2B5716 #165722
triadic
#2B5716 #162B57 #57162B
tetradic
#2B5716 #164C57 #421657 #572216
square
#2B5716 #164C57 #421657 #572216
split-complementary
#2B5716 #221657 #57164C
monochromatic
#0C1806 #13260A #2B5716 #438822 #5BB92F

Accessibility & contrast

On white

8.48
#2B5716 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2B5716 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5716
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5716#FFFFFF#000000##FFFFFF
##2B57161.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0C
Deuteranopia (green-blind)
#544B1C
Tritanopia (blue-blind)
#28544A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b5716;
/* rgb */ color: rgb(43, 87, 22);
/* oklch */ color: oklch(41.0% 0.106 137.3);
Tailwind
colors: {
  custom: {
    50: '#698757',
    500: '#2b5716',
    950: '#000000',
  },
}
SCSS
$custom: #2b5716;
$custom-light: #698757;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5716",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 22
  },
  "hsl": {
    "h": 100.615,
    "s": 59.633,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41015,
    "c": 0.10635,
    "h": 137.3
  },
  "luminance": 0.07388
}

Semantic roles & 50–950 ramp

primary
#2B5716
secondary
#733A8E
accent
#45E3B0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B5716

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

Preview Lab → · Contrast checker → · Palette generator →

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