#2E2E26#2E2E26

#2E2E26 is a dark, near-neutral yellow. Relative luminance 0.027; OKLCH L 29.8% C 0.014 H 107.2°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#2E2E26
RGBrgb(46, 46, 38)
HSLhsl(60, 10%, 16%)
HSVhsv(60, 17%, 18%)
CMYKcmyk(0%, 0%, 17.4%, 82%)
CIE-LABlab(18.69, -1.76, 5.17)
CIE-LCHlch(18.69, 5.46, 108.81°)
OKLaboklab(29.84% -0.0041 0.0134)
OKLCHoklch(29.84% 0.014 107.2)
XYZxyz(2.4535, 2.6748, 2.2204)
Luminance0.0267 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E26 #26262E
analogous
#2E2A26 #2E2E26 #2A2E26
triadic
#2E2E26 #262E2E #2E262E
tetradic
#2E2E26 #262E2A #26262E #2E262A
square
#2E2E26 #262E2A #26262E #2E262A
split-complementary
#2E2E26 #262A2E #2A262E
monochromatic
#11110E #11110E #2E2E26 #505042 #71715D

Accessibility & contrast

On white

13.68
#2E2E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2E2E26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E26
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E26#FFFFFF#000000##FFFFFF
##2E2E261.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2D26
Deuteranopia (green-blind)
#302E26
Tritanopia (blue-blind)
#2F2D2C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2e2e26;
/* rgb */ color: rgb(46, 46, 38);
/* oklch */ color: oklch(29.8% 0.014 107.2);
Tailwind
colors: {
  custom: {
    50: '#666660',
    500: '#2e2e26',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e26;
$custom-light: #666660;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e26",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 38
  },
  "hsl": {
    "h": 60,
    "s": 9.524,
    "l": 16.471
  },
  "oklch": {
    "l": 0.29843,
    "c": 0.01399,
    "h": 107.2
  },
  "luminance": 0.02675
}

Semantic roles & 50–950 ramp

primary
#2E2E26
secondary
#52525E
accent
#75B375
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060604
muted
#7A7A79

Preview Lab

Preview with #2E2E26

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

Preview Lab → · Contrast checker → · Palette generator →

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