#2B542E#2B542E

#2B542E is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.5% C 0.078 H 145.5°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#2B542E
RGBrgb(43, 84, 46)
HSLhsl(124, 32%, 25%)
HSVhsv(124, 49%, 33%)
CMYKcmyk(48.8%, 0%, 45.2%, 67.1%)
CIE-LABlab(31.92, -23.57, 17.85)
CIE-LCHlch(31.92, 29.57, 142.87°)
OKLaboklab(40.5% -0.0641 0.044)
OKLCHoklch(40.5% 0.078 145.5)
XYZxyz(4.6595, 7.0512, 3.6997)
Luminance0.0705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B542E #542B51
analogous
#3D542B #2B542E #2B5442
triadic
#2B542E #2E2B54 #542E2B
tetradic
#2B542E #2B3D54 #542B51 #54422B
square
#2B542E #2B3D54 #542B51 #54422B
split-complementary
#2B542E #422B54 #542B3D
monochromatic
#0A140B #162C18 #2B542E #407C44 #54A55A

Accessibility & contrast

On white

8.71
#2B542E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2B542E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B542E
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B542E#FFFFFF#000000##FFFFFF
##2B542E1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D2B
Deuteranopia (green-blind)
#4F4A30
Tritanopia (blue-blind)
#25524B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b542e;
/* rgb */ color: rgb(43, 84, 46);
/* oklch */ color: oklch(40.5% 0.078 145.5);
Tailwind
colors: {
  custom: {
    50: '#678467',
    500: '#2b542e',
    950: '#000000',
  },
}
SCSS
$custom: #2b542e;
$custom-light: #678467;
$custom-dark: #000000;
JSON
{
  "hex": "#2b542e",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 46
  },
  "hsl": {
    "h": 124.39,
    "s": 32.283,
    "l": 24.902
  },
  "oklch": {
    "l": 0.40501,
    "c": 0.07776,
    "h": 145.5
  },
  "luminance": 0.07051
}

Semantic roles & 50–950 ramp

primary
#2B542E
secondary
#865583
accent
#5FC1C8
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #2B542E

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

Preview Lab → · Contrast checker → · Palette generator →

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