#2E2712#2E2712

#2E2712 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.5% C 0.036 H 91.5°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#2E2712
RGBrgb(46, 39, 18)
HSLhsl(45, 44%, 13%)
HSVhsv(45, 61%, 18%)
CMYKcmyk(0%, 15.2%, 60.9%, 82%)
CIE-LABlab(15.88, -0.26, 14.94)
CIE-LCHlch(15.88, 14.94, 91.01°)
OKLaboklab(27.48% -0.0009 0.0358)
OKLCHoklch(27.48% 0.036 91.5)
XYZxyz(1.9615, 2.0756, 0.8695)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2712 #12192E
analogous
#2E1912 #2E2712 #272E12
triadic
#2E2712 #122E27 #27122E
tetradic
#2E2712 #122E19 #12192E #2E1227
square
#2E2712 #122E19 #12192E #2E1227
split-complementary
#2E2712 #12272E #19122E
monochromatic
#161309 #161309 #2E2712 #5A4C23 #867234

Accessibility & contrast

On white

14.84
#2E2712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2E2712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2712
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2712#FFFFFF#000000##FFFFFF
##2E27121.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2610
Deuteranopia (green-blind)
#2D2813
Tritanopia (blue-blind)
#322422
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2e2712;
/* rgb */ color: rgb(46, 39, 18);
/* oklch */ color: oklch(27.5% 0.036 91.5);
Tailwind
colors: {
  custom: {
    50: '#686050',
    500: '#2e2712',
    950: '#000000',
  },
}
SCSS
$custom: #2e2712;
$custom-light: #686050;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2712",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 18
  },
  "hsl": {
    "h": 45,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.27476,
    "c": 0.03585,
    "h": 91.5
  },
  "luminance": 0.02076
}

Semantic roles & 50–950 ramp

primary
#2E2712
secondary
#364266
accent
#74D354
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060502
muted
#7A7978

Preview Lab

Preview with #2E2712

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

Preview Lab → · Contrast checker → · Palette generator →

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