#2B541E#2B541E

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

Color values

HEX#2B541E
RGBrgb(43, 84, 30)
HSLhsl(106, 47%, 22%)
HSVhsv(106, 64%, 33%)
CMYKcmyk(48.8%, 0%, 64.3%, 67.1%)
CIE-LABlab(31.69, -26.01, 26.64)
CIE-LCHlch(31.69, 37.23, 134.31°)
OKLaboklab(40.23% -0.0715 0.0625)
OKLCHoklch(40.23% 0.095 138.8)
XYZxyz(4.4008, 6.9477, 2.3372)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B541E #471E54
analogous
#46541E #2B541E #1E542C
triadic
#2B541E #1E2B54 #541E2B
tetradic
#2B541E #1E4654 #471E54 #542C1E
square
#2B541E #1E4654 #471E54 #542C1E
split-complementary
#2B541E #2C1E54 #541E46
monochromatic
#0C1708 #14270E #2B541E #42812E #59AE3E

Accessibility & contrast

On white

8.79
#2B541E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B541E
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B541E#FFFFFF#000000##FFFFFF
##2B541E1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D18
Deuteranopia (green-blind)
#514922
Tritanopia (blue-blind)
#285148
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b541e;
/* rgb */ color: rgb(43, 84, 30);
/* oklch */ color: oklch(40.2% 0.095 138.8);
Tailwind
colors: {
  custom: {
    50: '#68845c',
    500: '#2b541e',
    950: '#000000',
  },
}
SCSS
$custom: #2b541e;
$custom-light: #68845c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b541e",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 30
  },
  "hsl": {
    "h": 105.556,
    "s": 47.368,
    "l": 22.353
  },
  "oklch": {
    "l": 0.40232,
    "c": 0.09495,
    "h": 138.8
  },
  "luminance": 0.06948
}

Semantic roles & 50–950 ramp

primary
#2B541E
secondary
#794589
accent
#51D7B7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2B541E

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

Preview Lab → · Contrast checker → · Palette generator →

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