#2E2912#2E2912

#2E2912 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.0% C 0.038 H 97.4°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#2E2912
RGBrgb(46, 41, 18)
HSLhsl(49, 44%, 13%)
HSVhsv(49, 61%, 18%)
CMYKcmyk(0%, 10.9%, 60.9%, 82%)
CIE-LABlab(16.56, -1.62, 15.79)
CIE-LCHlch(16.56, 15.87, 95.87°)
OKLaboklab(28.01% -0.0049 0.0377)
OKLCHoklch(28.01% 0.038 97.4)
XYZxyz(2.0289, 2.2105, 0.8919)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2912 #12172E
analogous
#2E1B12 #2E2912 #252E12
triadic
#2E2912 #122E29 #29122E
tetradic
#2E2912 #122E1B #12172E #2E1225
square
#2E2912 #122E1B #12172E #2E1225
split-complementary
#2E2912 #12252E #1B122E
monochromatic
#161409 #161409 #2E2912 #5A5023 #867734

Accessibility & contrast

On white

14.56
#2E2912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2E2912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2912
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2912#FFFFFF#000000##FFFFFF
##2E29121.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2810
Deuteranopia (green-blind)
#2E2A13
Tritanopia (blue-blind)
#322624
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2e2912;
/* rgb */ color: rgb(46, 41, 18);
/* oklch */ color: oklch(28.0% 0.038 97.4);
Tailwind
colors: {
  custom: {
    50: '#676250',
    500: '#2e2912',
    950: '#000000',
  },
}
SCSS
$custom: #2e2912;
$custom-light: #676250;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2912",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 18
  },
  "hsl": {
    "h": 49.286,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.2801,
    "c": 0.03797,
    "h": 97.4
  },
  "luminance": 0.0221
}

Semantic roles & 50–950 ramp

primary
#2E2912
secondary
#363F66
accent
#6BD354
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060502
muted
#7A7978

Preview Lab

Preview with #2E2912

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

Preview Lab → · Contrast checker → · Palette generator →

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