#2B5317#2B5317

#2B5317 is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.9% C 0.100 H 136.9°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2B5317
RGBrgb(43, 83, 23)
HSLhsl(100, 57%, 21%)
HSVhsv(100, 72%, 33%)
CMYKcmyk(48.2%, 0%, 72.3%, 67.5%)
CIE-LABlab(31.26, -26.31, 29.68)
CIE-LCHlch(31.26, 39.66, 131.56°)
OKLaboklab(39.86% -0.0729 0.0681)
OKLCHoklch(39.86% 0.1 136.9)
XYZxyz(4.2440, 6.7617, 1.8920)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5317 #3F1753
analogous
#495317 #2B5317 #175321
triadic
#2B5317 #172B53 #53172B
tetradic
#2B5317 #174953 #3F1753 #532117
square
#2B5317 #174953 #3F1753 #532117
split-complementary
#2B5317 #211753 #531749
monochromatic
#0C1807 #12230A #2B5317 #448324 #5DB332

Accessibility & contrast

On white

8.93
#2B5317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2B5317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5317
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5317#FFFFFF#000000##FFFFFF
##2B53171.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0F
Deuteranopia (green-blind)
#51481C
Tritanopia (blue-blind)
#295047
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b5317;
/* rgb */ color: rgb(43, 83, 23);
/* oklch */ color: oklch(39.9% 0.100 136.9);
Tailwind
colors: {
  custom: {
    50: '#688457',
    500: '#2b5317',
    950: '#000000',
  },
}
SCSS
$custom: #2b5317;
$custom-light: #688457;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5317",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 23
  },
  "hsl": {
    "h": 100,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39856,
    "c": 0.09972,
    "h": 136.9
  },
  "luminance": 0.06762
}

Semantic roles & 50–950 ramp

primary
#2B5317
secondary
#703C8A
accent
#48E0AD
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #2B5317

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

Preview Lab → · Contrast checker → · Palette generator →

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