#2E2E27#2E2E27

#2E2E27 is a dark, near-neutral yellow. Relative luminance 0.027; OKLCH L 29.9% C 0.012 H 107.1°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#2E2E27
RGBrgb(46, 46, 39)
HSLhsl(60, 8%, 17%)
HSVhsv(60, 15%, 18%)
CMYKcmyk(0%, 0%, 15.2%, 82%)
CIE-LABlab(18.72, -1.55, 4.52)
CIE-LCHlch(18.72, 4.78, 108.97°)
OKLaboklab(29.88% -0.0036 0.0117)
OKLCHoklch(29.88% 0.012 107.1)
XYZxyz(2.4699, 2.6813, 2.3065)
Luminance0.0268 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E27 #27272E
analogous
#2E2B27 #2E2E27 #2B2E27
triadic
#2E2E27 #272E2E #2E272E
tetradic
#2E2E27 #272E2B #27272E #2E272B
square
#2E2E27 #272E2B #27272E #2E272B
split-complementary
#2E2E27 #272B2E #2B272E
monochromatic
#11110E #11110E #2E2E27 #4F4F43 #70705F

Accessibility & contrast

On white

13.67
#2E2E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2E27
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E27#FFFFFF#000000##FFFFFF
##2E2E271.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2D27
Deuteranopia (green-blind)
#2F2E27
Tritanopia (blue-blind)
#2F2D2C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e2e27;
/* rgb */ color: rgb(46, 46, 39);
/* oklch */ color: oklch(29.9% 0.012 107.1);
Tailwind
colors: {
  custom: {
    50: '#666661',
    500: '#2e2e27',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e27;
$custom-light: #666661;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e27",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 39
  },
  "hsl": {
    "h": 60,
    "s": 8.235,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29875,
    "c": 0.01226,
    "h": 107.1
  },
  "luminance": 0.02681
}

Semantic roles & 50–950 ramp

primary
#2E2E27
secondary
#53535D
accent
#77B177
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060605
muted
#7A7A79

Preview Lab

Preview with #2E2E27

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

Preview Lab → · Contrast checker → · Palette generator →

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