#2B5328#2B5328

#2B5328 is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.1% C 0.083 H 142.4°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#2B5328
RGBrgb(43, 83, 40)
HSLhsl(116, 35%, 24%)
HSVhsv(116, 52%, 33%)
CMYKcmyk(48.2%, 0%, 51.8%, 67.5%)
CIE-LABlab(31.47, -24.10, 20.81)
CIE-LCHlch(31.47, 31.84, 139.19°)
OKLaboklab(40.1% -0.0657 0.0505)
OKLCHoklch(40.1% 0.083 142.4)
XYZxyz(4.4723, 6.8530, 3.0942)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5328 #502853
analogous
#415328 #2B5328 #28533B
triadic
#2B5328 #282B53 #53282B
tetradic
#2B5328 #284153 #502853 #533B28
square
#2B5328 #284153 #502853 #533B28
split-complementary
#2B5328 #3B2853 #532841
monochromatic
#0B150A #162A14 #2B5328 #407C3C #56A650

Accessibility & contrast

On white

8.86
#2B5328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2B5328 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5328
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5328#FFFFFF#000000##FFFFFF
##2B53281.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C24
Deuteranopia (green-blind)
#4F492B
Tritanopia (blue-blind)
#275149
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b5328;
/* rgb */ color: rgb(43, 83, 40);
/* oklch */ color: oklch(40.1% 0.083 142.4);
Tailwind
colors: {
  custom: {
    50: '#678463',
    500: '#2b5328',
    950: '#000000',
  },
}
SCSS
$custom: #2b5328;
$custom-light: #678463;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5328",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 40
  },
  "hsl": {
    "h": 115.814,
    "s": 34.959,
    "l": 24.118
  },
  "oklch": {
    "l": 0.40098,
    "c": 0.08287,
    "h": 142.4
  },
  "luminance": 0.06853
}

Semantic roles & 50–950 ramp

primary
#2B5328
secondary
#825186
accent
#5DCBC3
background
#F6F8F5
surface
#EBEFEA
border
#C6CAC6
text
#060B05
muted
#7A7C79

Preview Lab

Preview with #2B5328

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

Preview Lab → · Contrast checker → · Palette generator →

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