#2E2812#2E2812

#2E2812 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.7% C 0.037 H 94.5°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#2E2812
RGBrgb(46, 40, 18)
HSLhsl(47, 44%, 13%)
HSVhsv(47, 61%, 18%)
CMYKcmyk(0%, 13%, 60.9%, 82%)
CIE-LABlab(16.22, -0.95, 15.36)
CIE-LCHlch(16.22, 15.39, 93.52°)
OKLaboklab(27.74% -0.0029 0.0368)
OKLCHoklch(27.74% 0.037 94.5)
XYZxyz(1.9948, 2.1422, 0.8806)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2812 #12182E
analogous
#2E1A12 #2E2812 #262E12
triadic
#2E2812 #122E28 #28122E
tetradic
#2E2812 #122E1A #12182E #2E1226
square
#2E2812 #122E1A #12182E #2E1226
split-complementary
#2E2812 #12262E #1A122E
monochromatic
#161309 #161309 #2E2812 #5A4E23 #867534

Accessibility & contrast

On white

14.70
#2E2812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2E2812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2812
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2812#FFFFFF#000000##FFFFFF
##2E28121.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2710
Deuteranopia (green-blind)
#2E2913
Tritanopia (blue-blind)
#322523
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2e2812;
/* rgb */ color: rgb(46, 40, 18);
/* oklch */ color: oklch(27.7% 0.037 94.5);
Tailwind
colors: {
  custom: {
    50: '#686150',
    500: '#2e2812',
    950: '#000000',
  },
}
SCSS
$custom: #2e2812;
$custom-light: #686150;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2812",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 18
  },
  "hsl": {
    "h": 47.143,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.27742,
    "c": 0.03687,
    "h": 94.5
  },
  "luminance": 0.02142
}

Semantic roles & 50–950 ramp

primary
#2E2812
secondary
#364066
accent
#70D354
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060502
muted
#7A7978

Preview Lab

Preview with #2E2812

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

Preview Lab → · Contrast checker → · Palette generator →

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