#2B2E22#2B2E22

#2B2E22 is a dark, muted yellow-green. Relative luminance 0.026; OKLCH L 29.4% C 0.021 H 119.1°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#2B2E22
RGBrgb(43, 46, 34)
HSLhsl(75, 15%, 16%)
HSVhsv(75, 26%, 18%)
CMYKcmyk(6.5%, 0%, 26.1%, 82%)
CIE-LABlab(18.29, -3.98, 7.31)
CIE-LCHlch(18.29, 8.33, 118.57°)
OKLaboklab(29.42% -0.0104 0.0187)
OKLCHoklch(29.42% 0.021 119.1)
XYZxyz(2.2620, 2.5831, 1.8925)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E22 #25222E
analogous
#2E2B22 #2B2E22 #252E22
triadic
#2B2E22 #222B2E #2E222B
tetradic
#2B2E22 #222E2B #25222E #2E2225
square
#2B2E22 #222E2B #25222E #2E2225
split-complementary
#2B2E22 #22252E #2B222E
monochromatic
#10120D #10120D #2B2E22 #4C513C #6D7456

Accessibility & contrast

On white

13.85
#2B2E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2B2E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E22
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E22#FFFFFF#000000##FFFFFF
##2B2E221.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302D21
Deuteranopia (green-blind)
#2F2D22
Tritanopia (blue-blind)
#2C2D2B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2b2e22;
/* rgb */ color: rgb(43, 46, 34);
/* oklch */ color: oklch(29.4% 0.021 119.1);
Tailwind
colors: {
  custom: {
    50: '#64665d',
    500: '#2b2e22',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e22;
$custom-light: #64665d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e22",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 34
  },
  "hsl": {
    "h": 75,
    "s": 15,
    "l": 15.686
  },
  "oklch": {
    "l": 0.29418,
    "c": 0.02135,
    "h": 119.1
  },
  "luminance": 0.02583
}

Semantic roles & 50–950 ramp

primary
#2B2E22
secondary
#514D5F
accent
#70B882
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050604
muted
#797A79

Preview Lab

Preview with #2B2E22

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

Preview Lab → · Contrast checker → · Palette generator →

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