#2E2707#2E2707

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

Color values

HEX#2E2707
RGBrgb(46, 39, 7)
HSLhsl(49, 74%, 10%)
HSVhsv(49, 85%, 18%)
CMYKcmyk(0%, 15.2%, 84.8%, 82%)
CIE-LABlab(15.73, -1.31, 20.02)
CIE-LCHlch(15.73, 20.07, 93.73°)
OKLaboklab(27.31% -0.0056 0.0481)
OKLCHoklch(27.31% 0.048 96.7)
XYZxyz(1.8907, 2.0473, 0.4966)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2707 #070E2E
analogous
#2E1307 #2E2707 #212E07
triadic
#2E2707 #072E27 #27072E
tetradic
#2E2707 #072E13 #070E2E #2E0721
square
#2E2707 #072E13 #070E2E #2E0721
split-complementary
#2E2707 #07212E #13072E
monochromatic
#1B1704 #1B1704 #2E2707 #63540F #988117

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E2707#FFFFFF#000000##FFFFFF
##2E27071.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)
#2C2604
Deuteranopia (green-blind)
#2E2809
Tritanopia (blue-blind)
#322320
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2e2707;
/* rgb */ color: rgb(46, 39, 7);
/* oklch */ color: oklch(27.3% 0.048 96.7);
Tailwind
colors: {
  custom: {
    50: '#68604a',
    500: '#2e2707',
    950: '#000000',
  },
}
SCSS
$custom: #2e2707;
$custom-light: #68604a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2707",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 7
  },
  "hsl": {
    "h": 49.231,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27314,
    "c": 0.04841,
    "h": 96.7
  },
  "luminance": 0.02047
}

Semantic roles & 50–950 ramp

primary
#2E2707
secondary
#23306E
accent
#59F038
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2E2707

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

Preview Lab → · Contrast checker → · Palette generator →

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