#2B5318#2B5318

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

Color values

HEX#2B5318
RGBrgb(43, 83, 24)
HSLhsl(101, 55%, 21%)
HSVhsv(101, 71%, 33%)
CMYKcmyk(48.2%, 0%, 71.1%, 67.5%)
CIE-LABlab(31.27, -26.21, 29.21)
CIE-LCHlch(31.27, 39.25, 131.91°)
OKLaboklab(39.87% -0.0725 0.0672)
OKLCHoklch(39.87% 0.099 137.2)
XYZxyz(4.2543, 6.7658, 1.9457)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5318 #401853
analogous
#485318 #2B5318 #185322
triadic
#2B5318 #182B53 #53182B
tetradic
#2B5318 #184853 #401853 #532218
square
#2B5318 #184853 #401853 #532218
split-complementary
#2B5318 #221853 #531848
monochromatic
#0C1807 #12240A #2B5318 #448226 #5CB233

Accessibility & contrast

On white

8.92
#2B5318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B5318
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5318#FFFFFF#000000##FFFFFF
##2B53181.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C10
Deuteranopia (green-blind)
#50481D
Tritanopia (blue-blind)
#295047
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b5318;
/* rgb */ color: rgb(43, 83, 24);
/* oklch */ color: oklch(39.9% 0.099 137.2);
Tailwind
colors: {
  custom: {
    50: '#688458',
    500: '#2b5318',
    950: '#000000',
  },
}
SCSS
$custom: #2b5318;
$custom-light: #688458;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5318",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 24
  },
  "hsl": {
    "h": 100.678,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39867,
    "c": 0.09888,
    "h": 137.2
  },
  "luminance": 0.06766
}

Semantic roles & 50–950 ramp

primary
#2B5318
secondary
#713D8A
accent
#49DEAE
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #2B5318

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

Preview Lab → · Contrast checker → · Palette generator →

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