#2B402B#2B402B

#2B402B is a dark, muted green. Relative luminance 0.044; OKLCH L 34.7% C 0.045 H 144.5°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#2B402B
RGBrgb(43, 64, 43)
HSLhsl(120, 20%, 21%)
HSVhsv(120, 33%, 25%)
CMYKcmyk(32.8%, 0%, 32.8%, 74.9%)
CIE-LABlab(24.81, -13.36, 10.27)
CIE-LCHlch(24.81, 16.85, 142.45°)
OKLaboklab(34.71% -0.0365 0.026)
OKLCHoklch(34.71% 0.045 144.5)
XYZxyz(3.2656, 4.3547, 2.9535)
Luminance0.0435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B402B #402B40
analogous
#35402B #2B402B #2B4035
triadic
#2B402B #2B2B40 #402B2B
tetradic
#2B402B #2B3540 #402B40 #40352B
square
#2B402B #2B3540 #402B40 #40352B
split-complementary
#2B402B #352B40 #402B35
monochromatic
#0C120C #121B12 #2B402B #446544 #5C895C

Accessibility & contrast

On white

11.22
#2B402B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2B402B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B402B
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B402B#FFFFFF#000000##FFFFFF
##2B402B1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C2A
Deuteranopia (green-blind)
#3E3A2C
Tritanopia (blue-blind)
#293F3A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b402b;
/* rgb */ color: rgb(43, 64, 43);
/* oklch */ color: oklch(34.7% 0.045 144.5);
Tailwind
colors: {
  custom: {
    50: '#657564',
    500: '#2b402b',
    950: '#000000',
  },
}
SCSS
$custom: #2b402b;
$custom-light: #657564;
$custom-dark: #000000;
JSON
{
  "hex": "#2b402b",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 43
  },
  "hsl": {
    "h": 120,
    "s": 19.626,
    "l": 20.98
  },
  "oklch": {
    "l": 0.34709,
    "c": 0.04478,
    "h": 144.5
  },
  "luminance": 0.04355
}

Semantic roles & 50–950 ramp

primary
#2B402B
secondary
#715671
accent
#6CBCBC
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#050805
muted
#7A7B7A

Preview Lab

Preview with #2B402B

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

Preview Lab → · Contrast checker → · Palette generator →

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