#2B541B#2B541B

#2B541B is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.2% C 0.098 H 138.0°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#2B541B
RGBrgb(43, 84, 27)
HSLhsl(103, 51%, 22%)
HSVhsv(103, 68%, 33%)
CMYKcmyk(48.8%, 0%, 67.9%, 67.1%)
CIE-LABlab(31.65, -26.36, 28.15)
CIE-LCHlch(31.65, 38.56, 133.12°)
OKLaboklab(40.19% -0.0727 0.0654)
OKLCHoklch(40.19% 0.098 138)
XYZxyz(4.3643, 6.9331, 2.1450)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B541B #441B54
analogous
#48541B #2B541B #1B5428
triadic
#2B541B #1B2B54 #541B2B
tetradic
#2B541B #1B4854 #441B54 #54281B
square
#2B541B #1B4854 #441B54 #54281B
split-complementary
#2B541B #281B54 #541B48
monochromatic
#0C1707 #13260C #2B541B #43822A #5AB139

Accessibility & contrast

On white

8.80
#2B541B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2B541B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B541B
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B541B#FFFFFF#000000##FFFFFF
##2B541B1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D14
Deuteranopia (green-blind)
#514920
Tritanopia (blue-blind)
#285148
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b541b;
/* rgb */ color: rgb(43, 84, 27);
/* oklch */ color: oklch(40.2% 0.098 138.0);
Tailwind
colors: {
  custom: {
    50: '#68845a',
    500: '#2b541b',
    950: '#000000',
  },
}
SCSS
$custom: #2b541b;
$custom-light: #68845a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b541b",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 103.158,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40194,
    "c": 0.09775,
    "h": 138
  },
  "luminance": 0.06933
}

Semantic roles & 50–950 ramp

primary
#2B541B
secondary
#75418A
accent
#4DDBB3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2B541B

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

Preview Lab → · Contrast checker → · Palette generator →

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