#2E2A1A#2E2A1A

#2E2A1A is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.4% C 0.028 H 95.8°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#2E2A1A
RGBrgb(46, 42, 26)
HSLhsl(48, 28%, 14%)
HSVhsv(48, 43%, 18%)
CMYKcmyk(0%, 8.7%, 43.5%, 82%)
CIE-LABlab(17.04, -1.21, 11.14)
CIE-LCHlch(17.04, 11.20, 96.22°)
OKLaboklab(28.44% -0.0028 0.0276)
OKLCHoklch(28.44% 0.028 95.8)
XYZxyz(2.1412, 2.3114, 1.3104)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A1A #1A1E2E
analogous
#2E201A #2E2A1A #282E1A
triadic
#2E2A1A #1A2E2A #2A1A2E
tetradic
#2E2A1A #1A2E20 #1A1E2E #2E1A28
square
#2E2A1A #1A2E20 #1A1E2E #2E1A28
split-complementary
#2E2A1A #1A282E #201A2E
monochromatic
#14120B #14120B #2E2A1A #554E30 #7C7146

Accessibility & contrast

On white

14.36
#2E2A1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2A1A
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A1A#FFFFFF#000000##FFFFFF
##2E2A1A1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2a1a;
/* rgb */ color: rgb(46, 42, 26);
/* oklch */ color: oklch(28.4% 0.028 95.8);
Tailwind
colors: {
  custom: {
    50: '#676356',
    500: '#2e2a1a',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a1a;
$custom-light: #676356;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a1a",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 26
  },
  "hsl": {
    "h": 48,
    "s": 27.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.28444,
    "c": 0.02776,
    "h": 95.8
  },
  "luminance": 0.02311
}

Semantic roles & 50–950 ramp

primary
#2E2A1A
secondary
#424862
accent
#77C464
background
#F6F5F5
surface
#EBEAE9
border
#C6C6C5
text
#060503
muted
#7A7978

Preview Lab

Preview with #2E2A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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