#2E2904#2E2904

#2E2904 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.8% C 0.054 H 101.5°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#2E2904
RGBrgb(46, 41, 4)
HSLhsl(53, 84%, 10%)
HSVhsv(53, 91%, 18%)
CMYKcmyk(0%, 10.9%, 91.3%, 82%)
CIE-LABlab(16.38, -2.90, 22.06)
CIE-LCHlch(16.38, 22.25, 97.48°)
OKLaboklab(27.82% -0.0107 0.0526)
OKLCHoklch(27.82% 0.054 101.5)
XYZxyz(1.9417, 2.1756, 0.4325)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2904 #04092E
analogous
#2E1404 #2E2904 #1E2E04
triadic
#2E2904 #042E29 #29042E
tetradic
#2E2904 #042E14 #04092E #2E041E
square
#2E2904 #042E14 #04092E #2E041E
split-complementary
#2E2904 #041E2E #14042E
monochromatic
#1C1902 #1C1902 #2E2904 #665B09 #9F8D0E

Accessibility & contrast

On white

14.63
#2E2904 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2904
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2904#FFFFFF#000000##FFFFFF
##2E29041.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2F2906
Tritanopia (blue-blind)
#322522
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2e2904;
/* rgb */ color: rgb(46, 41, 4);
/* oklch */ color: oklch(27.8% 0.054 101.5);
Tailwind
colors: {
  custom: {
    50: '#686248',
    500: '#2e2904',
    950: '#000000',
  },
}
SCSS
$custom: #2e2904;
$custom-light: #686248;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2904",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 4
  },
  "hsl": {
    "h": 52.857,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27818,
    "c": 0.05366,
    "h": 101.5
  },
  "luminance": 0.02175
}

Semantic roles & 50–950 ramp

primary
#2E2904
secondary
#1D2771
accent
#46FA2E
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2E2904

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

Preview Lab → · Contrast checker → · Palette generator →

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