#2E2A1C#2E2A1C

#2E2A1C is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.5% C 0.025 H 94.0°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#2E2A1C
RGBrgb(46, 42, 28)
HSLhsl(47, 24%, 15%)
HSVhsv(47, 39%, 18%)
CMYKcmyk(0%, 8.7%, 39.1%, 82%)
CIE-LABlab(17.09, -0.90, 9.84)
CIE-LCHlch(17.09, 9.88, 95.22°)
OKLaboklab(28.49% -0.0017 0.0246)
OKLCHoklch(28.49% 0.025 94)
XYZxyz(2.1643, 2.3207, 1.4323)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A1C #1C202E
analogous
#2E211C #2E2A1C #292E1C
triadic
#2E2A1C #1C2E2A #2A1C2E
tetradic
#2E2A1C #1C2E21 #1C202E #2E1C29
square
#2E2A1C #1C2E21 #1C202E #2E1C29
split-complementary
#2E2A1C #1C292E #211C2E
monochromatic
#13110C #13110C #2E2A1C #544D33 #7A6F4A

Accessibility & contrast

On white

14.34
#2E2A1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2E2A1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A1C
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A1C#FFFFFF#000000##FFFFFF
##2E2A1C1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D291B
Deuteranopia (green-blind)
#2E2B1C
Tritanopia (blue-blind)
#312826
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2e2a1c;
/* rgb */ color: rgb(46, 42, 28);
/* oklch */ color: oklch(28.5% 0.025 94.0);
Tailwind
colors: {
  custom: {
    50: '#676358',
    500: '#2e2a1c',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a1c;
$custom-light: #676358;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a1c",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 28
  },
  "hsl": {
    "h": 46.667,
    "s": 24.324,
    "l": 14.51
  },
  "oklch": {
    "l": 0.28494,
    "c": 0.02468,
    "h": 94
  },
  "luminance": 0.02321
}

Semantic roles & 50–950 ramp

primary
#2E2A1C
secondary
#454B61
accent
#7BC167
background
#F6F5F5
surface
#EBEAE9
border
#C6C6C5
text
#060503
muted
#7A7978

Preview Lab

Preview with #2E2A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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