#2E2E17#2E2E17

#2E2E17 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.5% C 0.038 H 108.5°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#2E2E17
RGBrgb(46, 46, 23)
HSLhsl(60, 33%, 14%)
HSVhsv(60, 50%, 18%)
CMYKcmyk(0%, 0%, 50%, 82%)
CIE-LABlab(18.35, -4.32, 14.81)
CIE-LCHlch(18.35, 15.42, 106.26°)
OKLaboklab(29.46% -0.012 0.0359)
OKLCHoklch(29.46% 0.038 108.5)
XYZxyz(2.2584, 2.5967, 1.1927)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E17 #17172E
analogous
#2E2217 #2E2E17 #222E17
triadic
#2E2E17 #172E2E #2E172E
tetradic
#2E2E17 #172E22 #17172E #2E1722
square
#2E2E17 #172E22 #17172E #2E1722
split-complementary
#2E2E17 #17222E #22172E
monochromatic
#14140A #14140A #2E2E17 #57572B #808040

Accessibility & contrast

On white

13.82
#2E2E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2E17
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E17#FFFFFF#000000##FFFFFF
##2E2E171.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C15
Deuteranopia (green-blind)
#322D18
Tritanopia (blue-blind)
#312B28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2e2e17;
/* rgb */ color: rgb(46, 46, 23);
/* oklch */ color: oklch(29.5% 0.038 108.5);
Tailwind
colors: {
  custom: {
    50: '#676654',
    500: '#2e2e17',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e17;
$custom-light: #676654;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e17",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 23
  },
  "hsl": {
    "h": 60,
    "s": 33.333,
    "l": 13.529
  },
  "oklch": {
    "l": 0.29462,
    "c": 0.03783,
    "h": 108.5
  },
  "luminance": 0.02597
}

Semantic roles & 50–950 ramp

primary
#2E2E17
secondary
#3E3E63
accent
#5EC95E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2E2E17

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

Preview Lab → · Contrast checker → · Palette generator →

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