#2E2706#2E2706

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

Color values

HEX#2E2706
RGBrgb(46, 39, 6)
HSLhsl(50, 77%, 10%)
HSVhsv(50, 87%, 18%)
CMYKcmyk(0%, 15.2%, 87%, 82%)
CIE-LABlab(15.72, -1.39, 20.42)
CIE-LCHlch(15.72, 20.46, 93.89°)
OKLaboklab(27.3% -0.0061 0.0491)
OKLCHoklch(27.3% 0.049 97)
XYZxyz(1.8852, 2.0451, 0.4677)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2706 #060D2E
analogous
#2E1306 #2E2706 #212E06
triadic
#2E2706 #062E27 #27062E
tetradic
#2E2706 #062E13 #060D2E #2E0621
square
#2E2706 #062E13 #060D2E #2E0621
split-complementary
#2E2706 #06212E #13062E
monochromatic
#1B1704 #1B1704 #2E2706 #64550D #9A8314

Accessibility & contrast

On white

14.90
#2E2706 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2706
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2706#FFFFFF#000000##FFFFFF
##2E27061.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2603
Deuteranopia (green-blind)
#2E2808
Tritanopia (blue-blind)
#322320
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2e2706;
/* rgb */ color: rgb(46, 39, 6);
/* oklch */ color: oklch(27.3% 0.049 97.0);
Tailwind
colors: {
  custom: {
    50: '#686049',
    500: '#2e2706',
    950: '#000000',
  },
}
SCSS
$custom: #2e2706;
$custom-light: #686049;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2706",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 6
  },
  "hsl": {
    "h": 49.5,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27301,
    "c": 0.04949,
    "h": 97
  },
  "luminance": 0.02045
}

Semantic roles & 50–950 ramp

primary
#2E2706
secondary
#212F6F
accent
#56F334
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2E2706

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

Preview Lab → · Contrast checker → · Palette generator →

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