#2E2D22#2E2D22

#2E2D22 is a dark, near-neutral yellow. Relative luminance 0.026; OKLCH L 29.5% C 0.019 H 103.2°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#2E2D22
RGBrgb(46, 45, 34)
HSLhsl(55, 15%, 16%)
HSVhsv(55, 26%, 18%)
CMYKcmyk(0%, 2.2%, 26.1%, 82%)
CIE-LABlab(18.25, -1.87, 7.30)
CIE-LCHlch(18.25, 7.54, 104.38°)
OKLaboklab(29.46% -0.0044 0.0186)
OKLCHoklch(29.46% 0.019 103.2)
XYZxyz(2.3538, 2.5731, 1.8857)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D22 #22232E
analogous
#2E2722 #2E2D22 #292E22
triadic
#2E2D22 #222E2D #2D222E
tetradic
#2E2D22 #222E27 #22232E #2E2229
square
#2E2D22 #222E27 #22232E #2E2229
split-complementary
#2E2D22 #22292E #27222E
monochromatic
#12110D #12110D #2E2D22 #514F3C #747256

Accessibility & contrast

On white

13.87
#2E2D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#2E2D22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D22
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D22#FFFFFF#000000##FFFFFF
##2E2D221.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2d22;
/* rgb */ color: rgb(46, 45, 34);
/* oklch */ color: oklch(29.5% 0.019 103.2);
Tailwind
colors: {
  custom: {
    50: '#66655d',
    500: '#2e2d22',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d22;
$custom-light: #66655d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d22",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 34
  },
  "hsl": {
    "h": 55,
    "s": 15,
    "l": 15.686
  },
  "oklch": {
    "l": 0.29456,
    "c": 0.01912,
    "h": 103.2
  },
  "luminance": 0.02573
}

Semantic roles & 50–950 ramp

primary
#2E2D22
secondary
#4D4E5F
accent
#76B870
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060504
muted
#7A7A79

Preview Lab

Preview with #2E2D22

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

Preview Lab → · Contrast checker → · Palette generator →

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