#2B5617#2B5617

#2B5617 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.7% C 0.104 H 137.4°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#2B5617
RGBrgb(43, 86, 23)
HSLhsl(101, 58%, 21%)
HSVhsv(101, 73%, 34%)
CMYKcmyk(50%, 0%, 73.3%, 66.3%)
CIE-LABlab(32.33, -27.71, 30.82)
CIE-LCHlch(32.33, 41.44, 131.96°)
OKLaboklab(40.73% -0.0766 0.0705)
OKLCHoklch(40.73% 0.104 137.4)
XYZxyz(4.4786, 7.2307, 1.9701)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5617 #421756
analogous
#4B5617 #2B5617 #175623
triadic
#2B5617 #172B56 #56172B
tetradic
#2B5617 #174B56 #421756 #562317
square
#2B5617 #174B56 #421756 #562317
split-complementary
#2B5617 #231756 #56174B
monochromatic
#0C1806 #13260A #2B5617 #438624 #5BB731

Accessibility & contrast

On white

8.58
#2B5617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2B5617 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5617
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5617#FFFFFF#000000##FFFFFF
##2B56171.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0E
Deuteranopia (green-blind)
#534B1D
Tritanopia (blue-blind)
#285349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b5617;
/* rgb */ color: rgb(43, 86, 23);
/* oklch */ color: oklch(40.7% 0.104 137.4);
Tailwind
colors: {
  custom: {
    50: '#698658',
    500: '#2b5617',
    950: '#000000',
  },
}
SCSS
$custom: #2b5617;
$custom-light: #698658;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5617",
  "rgb": {
    "r": 43,
    "g": 86,
    "b": 23
  },
  "hsl": {
    "h": 100.952,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.40733,
    "c": 0.10413,
    "h": 137.4
  },
  "luminance": 0.07231
}

Semantic roles & 50–950 ramp

primary
#2B5617
secondary
#733C8D
accent
#47E1B0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #2B5617

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

Preview Lab → · Contrast checker → · Palette generator →

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