#2B511B#2B511B

#2B511B is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.3% C 0.093 H 137.6°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2B511B
RGBrgb(43, 81, 27)
HSLhsl(102, 50%, 21%)
HSVhsv(102, 67%, 32%)
CMYKcmyk(46.9%, 0%, 66.7%, 68.2%)
CIE-LABlab(30.59, -24.93, 26.95)
CIE-LCHlch(30.59, 36.71, 132.77°)
OKLaboklab(39.32% -0.0688 0.0628)
OKLCHoklch(39.32% 0.093 137.6)
XYZxyz(4.1364, 6.4773, 2.0690)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B511B #411B51
analogous
#46511B #2B511B #1B5126
triadic
#2B511B #1B2B51 #511B2B
tetradic
#2B511B #1B4651 #411B51 #51261B
square
#2B511B #1B4651 #411B51 #51261B
split-complementary
#2B511B #261B51 #511B46
monochromatic
#0C1708 #13230C #2B511B #437F2A #5CAD3A

Accessibility & contrast

On white

9.15
#2B511B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2B511B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B511B
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B511B#FFFFFF#000000##FFFFFF
##2B511B1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A15
Deuteranopia (green-blind)
#4F471F
Tritanopia (blue-blind)
#294E45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b511b;
/* rgb */ color: rgb(43, 81, 27);
/* oklch */ color: oklch(39.3% 0.093 137.6);
Tailwind
colors: {
  custom: {
    50: '#68825a',
    500: '#2b511b',
    950: '#000000',
  },
}
SCSS
$custom: #2b511b;
$custom-light: #68825a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b511b",
  "rgb": {
    "r": 43,
    "g": 81,
    "b": 27
  },
  "hsl": {
    "h": 102.222,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39319,
    "c": 0.09315,
    "h": 137.6
  },
  "luminance": 0.06478
}

Semantic roles & 50–950 ramp

primary
#2B511B
secondary
#724187
accent
#4EDAB0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2B511B

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

Preview Lab → · Contrast checker → · Palette generator →

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