#2B511D#2B511D

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

Color values

HEX#2B511D
RGBrgb(43, 81, 29)
HSLhsl(104, 47%, 22%)
HSVhsv(104, 64%, 32%)
CMYKcmyk(46.9%, 0%, 64.2%, 68.2%)
CIE-LABlab(30.61, -24.69, 25.93)
CIE-LCHlch(30.61, 35.80, 133.60°)
OKLaboklab(39.35% -0.068 0.0609)
OKLCHoklch(39.35% 0.091 138.2)
XYZxyz(4.1603, 6.4869, 2.1950)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B511D #431D51
analogous
#45511D #2B511D #1D5129
triadic
#2B511D #1D2B51 #511D2B
tetradic
#2B511D #1D4551 #431D51 #51291D
square
#2B511D #1D4551 #431D51 #51291D
split-complementary
#2B511D #291D51 #511D45
monochromatic
#0C1708 #13240D #2B511D #437E2D #5BAB3D

Accessibility & contrast

On white

9.14
#2B511D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B511D
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B511D#FFFFFF#000000##FFFFFF
##2B511D1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A18
Deuteranopia (green-blind)
#4E4721
Tritanopia (blue-blind)
#294E46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b511d;
/* rgb */ color: rgb(43, 81, 29);
/* oklch */ color: oklch(39.3% 0.091 138.2);
Tailwind
colors: {
  custom: {
    50: '#68825b',
    500: '#2b511d',
    950: '#000000',
  },
}
SCSS
$custom: #2b511d;
$custom-light: #68825b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b511d",
  "rgb": {
    "r": 43,
    "g": 81,
    "b": 29
  },
  "hsl": {
    "h": 103.846,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.39345,
    "c": 0.09123,
    "h": 138.2
  },
  "luminance": 0.06487
}

Semantic roles & 50–950 ramp

primary
#2B511D
secondary
#744486
accent
#51D7B3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2B511D

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

Preview Lab → · Contrast checker → · Palette generator →

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