#2E2A18#2E2A18

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

Color values

HEX#2E2A18
RGBrgb(46, 42, 24)
HSLhsl(49, 31%, 14%)
HSVhsv(49, 48%, 18%)
CMYKcmyk(0%, 8.7%, 47.8%, 82%)
CIE-LABlab(17.00, -1.51, 12.43)
CIE-LCHlch(17.00, 12.52, 96.94°)
OKLaboklab(28.4% -0.0038 0.0305)
OKLCHoklch(28.4% 0.031 97.2)
XYZxyz(2.1196, 2.3028, 1.1968)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A18 #181C2E
analogous
#2E1F18 #2E2A18 #272E18
triadic
#2E2A18 #182E2A #2A182E
tetradic
#2E2A18 #182E1F #181C2E #2E1827
square
#2E2A18 #182E1F #181C2E #2E1827
split-complementary
#2E2A18 #18272E #1F182E
monochromatic
#14120A #14120A #2E2A18 #564F2D #7E7342

Accessibility & contrast

On white

14.38
#2E2A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2A18
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A18#FFFFFF#000000##FFFFFF
##2E2A181.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2917
Deuteranopia (green-blind)
#2F2B19
Tritanopia (blue-blind)
#312825
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2e2a18;
/* rgb */ color: rgb(46, 42, 24);
/* oklch */ color: oklch(28.4% 0.031 97.2);
Tailwind
colors: {
  custom: {
    50: '#676355',
    500: '#2e2a18',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a18;
$custom-light: #676355;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a18",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 24
  },
  "hsl": {
    "h": 49.091,
    "s": 31.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.28398,
    "c": 0.03076,
    "h": 97.2
  },
  "luminance": 0.02303
}

Semantic roles & 50–950 ramp

primary
#2E2A18
secondary
#3F4663
accent
#73C860
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060503
muted
#7A7978

Preview Lab

Preview with #2E2A18

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

Preview Lab → · Contrast checker → · Palette generator →

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