#2E2B22#2E2B22

#2E2B22 is a dark, near-neutral yellow. Relative luminance 0.024; OKLCH L 28.9% C 0.016 H 91.8°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#2E2B22
RGBrgb(46, 43, 34)
HSLhsl(45, 15%, 16%)
HSVhsv(45, 26%, 18%)
CMYKcmyk(0%, 6.5%, 26.1%, 82%)
CIE-LABlab(17.57, -0.52, 6.37)
CIE-LCHlch(17.57, 6.39, 94.67°)
OKLaboklab(28.92% -0.0005 0.0163)
OKLCHoklch(28.92% 0.016 91.8)
XYZxyz(2.2793, 2.4241, 1.8609)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B22 #22252E
analogous
#2E2522 #2E2B22 #2B2E22
triadic
#2E2B22 #222E2B #2B222E
tetradic
#2E2B22 #222E25 #22252E #2E222B
square
#2E2B22 #222E25 #22252E #2E222B
split-complementary
#2E2B22 #222B2E #25222E
monochromatic
#12100D #12100D #2E2B22 #514C3C #746D56

Accessibility & contrast

On white

14.14
#2E2B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2E2B22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B22
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B22#FFFFFF#000000##FFFFFF
##2E2B221.0014.141.4814.14
#FFFFFF14.141.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2B21
Deuteranopia (green-blind)
#2E2B22
Tritanopia (blue-blind)
#302A28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2e2b22;
/* rgb */ color: rgb(46, 43, 34);
/* oklch */ color: oklch(28.9% 0.016 91.8);
Tailwind
colors: {
  custom: {
    50: '#66645d',
    500: '#2e2b22',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b22;
$custom-light: #66645d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b22",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 34
  },
  "hsl": {
    "h": 45,
    "s": 15,
    "l": 15.686
  },
  "oklch": {
    "l": 0.28924,
    "c": 0.01633,
    "h": 91.8
  },
  "luminance": 0.02424
}

Semantic roles & 50–950 ramp

primary
#2E2B22
secondary
#4D515F
accent
#82B870
background
#F6F5F5
surface
#EBEAE9
border
#C6C6C5
text
#060504
muted
#7A7979

Preview Lab

Preview with #2E2B22

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

Preview Lab → · Contrast checker → · Palette generator →

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