#2E2814#2E2814

#2E2814 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.8% C 0.034 H 93.2°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#2E2814
RGBrgb(46, 40, 20)
HSLhsl(46, 39%, 13%)
HSVhsv(46, 57%, 18%)
CMYKcmyk(0%, 13%, 56.5%, 82%)
CIE-LABlab(16.25, -0.70, 14.14)
CIE-LCHlch(16.25, 14.15, 92.84°)
OKLaboklab(27.78% -0.0019 0.0341)
OKLCHoklch(27.78% 0.034 93.2)
XYZxyz(2.0118, 2.1490, 0.9705)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2814 #141A2E
analogous
#2E1B14 #2E2814 #272E14
triadic
#2E2814 #142E28 #28142E
tetradic
#2E2814 #142E1B #141A2E #2E1427
square
#2E2814 #142E1B #141A2E #2E1427
split-complementary
#2E2814 #14272E #1B142E
monochromatic
#151309 #151309 #2E2814 #594D27 #837239

Accessibility & contrast

On white

14.69
#2E2814 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2814
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2814#FFFFFF#000000##FFFFFF
##2E28141.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2814;
/* rgb */ color: rgb(46, 40, 20);
/* oklch */ color: oklch(27.8% 0.034 93.2);
Tailwind
colors: {
  custom: {
    50: '#676151',
    500: '#2e2814',
    950: '#000000',
  },
}
SCSS
$custom: #2e2814;
$custom-light: #676151;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2814",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 20
  },
  "hsl": {
    "h": 46.154,
    "s": 39.394,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2778,
    "c": 0.03417,
    "h": 93.2
  },
  "luminance": 0.02149
}

Semantic roles & 50–950 ramp

primary
#2E2814
secondary
#394365
accent
#74CF59
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060502
muted
#7A7978

Preview Lab

Preview with #2E2814

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

Preview Lab → · Contrast checker → · Palette generator →

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