#2B511C#2B511C

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

Color values

HEX#2B511C
RGBrgb(43, 81, 28)
HSLhsl(103, 49%, 21%)
HSVhsv(103, 65%, 32%)
CMYKcmyk(46.9%, 0%, 65.4%, 68.2%)
CIE-LABlab(30.60, -24.81, 26.44)
CIE-LCHlch(30.60, 36.26, 133.18°)
OKLaboklab(39.33% -0.0684 0.0619)
OKLCHoklch(39.33% 0.092 137.9)
XYZxyz(4.1482, 6.4820, 2.1310)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B511C #421C51
analogous
#46511C #2B511C #1C5128
triadic
#2B511C #1C2B51 #511C2B
tetradic
#2B511C #1C4651 #421C51 #51281C
square
#2B511C #1C4651 #421C51 #51281C
split-complementary
#2B511C #281C51 #511C46
monochromatic
#0C1708 #13240C #2B511C #437E2C #5BAC3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B511C#FFFFFF#000000##FFFFFF
##2B511C1.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)
#544A16
Deuteranopia (green-blind)
#4E4720
Tritanopia (blue-blind)
#294E46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b511c;
/* rgb */ color: rgb(43, 81, 28);
/* oklch */ color: oklch(39.3% 0.092 137.9);
Tailwind
colors: {
  custom: {
    50: '#68825a',
    500: '#2b511c',
    950: '#000000',
  },
}
SCSS
$custom: #2b511c;
$custom-light: #68825a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b511c",
  "rgb": {
    "r": 43,
    "g": 81,
    "b": 28
  },
  "hsl": {
    "h": 103.019,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.39332,
    "c": 0.0922,
    "h": 137.9
  },
  "luminance": 0.06482
}

Semantic roles & 50–950 ramp

primary
#2B511C
secondary
#734287
accent
#50D8B2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2B511C

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

Preview Lab → · Contrast checker → · Palette generator →

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