#2E2704#2E2704

#2E2704 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.3% C 0.052 H 97.7°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#2E2704
RGBrgb(46, 39, 4)
HSLhsl(50, 84%, 10%)
HSVhsv(50, 91%, 18%)
CMYKcmyk(0%, 15.2%, 91.3%, 82%)
CIE-LABlab(15.70, -1.55, 21.20)
CIE-LCHlch(15.70, 21.26, 94.19°)
OKLaboklab(27.28% -0.0069 0.0513)
OKLCHoklch(27.28% 0.052 97.7)
XYZxyz(1.8742, 2.0407, 0.4100)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2704 #040B2E
analogous
#2E1204 #2E2704 #202E04
triadic
#2E2704 #042E27 #27042E
tetradic
#2E2704 #042E12 #040B2E #2E0420
square
#2E2704 #042E12 #040B2E #2E0420
split-complementary
#2E2704 #04202E #12042E
monochromatic
#1C1802 #1C1802 #2E2704 #665709 #9F860E

Accessibility & contrast

On white

14.91
#2E2704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2E2704 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2704
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2704#FFFFFF#000000##FFFFFF
##2E27041.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2601
Deuteranopia (green-blind)
#2E2806
Tritanopia (blue-blind)
#332320
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2e2704;
/* rgb */ color: rgb(46, 39, 4);
/* oklch */ color: oklch(27.3% 0.052 97.7);
Tailwind
colors: {
  custom: {
    50: '#686048',
    500: '#2e2704',
    950: '#000000',
  },
}
SCSS
$custom: #2e2704;
$custom-light: #686048;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2704",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 4
  },
  "hsl": {
    "h": 50,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27276,
    "c": 0.05172,
    "h": 97.7
  },
  "luminance": 0.02041
}

Semantic roles & 50–950 ramp

primary
#2E2704
secondary
#1D2B71
accent
#50FA2E
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2E2704

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

Preview Lab → · Contrast checker → · Palette generator →

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