#2E2C12#2E2C12

#2E2C12 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.8% C 0.042 H 104.8°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#2E2C12
RGBrgb(46, 44, 18)
HSLhsl(56, 44%, 13%)
HSVhsv(56, 61%, 18%)
CMYKcmyk(0%, 4.3%, 60.9%, 82%)
CIE-LABlab(17.58, -3.63, 17.04)
CIE-LCHlch(17.58, 17.42, 102.03°)
OKLaboklab(28.82% -0.0106 0.0404)
OKLCHoklch(28.82% 0.042 104.8)
XYZxyz(2.1366, 2.4259, 0.9279)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C12 #12142E
analogous
#2E1E12 #2E2C12 #222E12
triadic
#2E2C12 #122E2C #2C122E
tetradic
#2E2C12 #122E1E #12142E #2E1222
square
#2E2C12 #122E1E #12142E #2E1222
split-complementary
#2E2C12 #12222E #1E122E
monochromatic
#161509 #161509 #2E2C12 #5A5623 #868034

Accessibility & contrast

On white

14.14
#2E2C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2E2C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C12
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C12#FFFFFF#000000##FFFFFF
##2E2C121.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A10
Deuteranopia (green-blind)
#312C13
Tritanopia (blue-blind)
#312926
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2e2c12;
/* rgb */ color: rgb(46, 44, 18);
/* oklch */ color: oklch(28.8% 0.042 104.8);
Tailwind
colors: {
  custom: {
    50: '#676450',
    500: '#2e2c12',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c12;
$custom-light: #676450;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c12",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 18
  },
  "hsl": {
    "h": 55.714,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.28823,
    "c": 0.04175,
    "h": 104.8
  },
  "luminance": 0.02426
}

Semantic roles & 50–950 ramp

primary
#2E2C12
secondary
#363966
accent
#5DD354
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060502
muted
#7A7A78

Preview Lab

Preview with #2E2C12

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

Preview Lab → · Contrast checker → · Palette generator →

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