#2E2301#2E2301

#2E2301 is a dark, muted yellow. Relative luminance 0.018; OKLCH L 26.2% C 0.052 H 90.6°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#2E2301
RGBrgb(46, 35, 1)
HSLhsl(45, 96%, 9%)
HSVhsv(45, 98%, 18%)
CMYKcmyk(0%, 23.9%, 97.8%, 82%)
CIE-LABlab(14.32, 0.93, 20.65)
CIE-LCHlch(14.32, 20.67, 87.42°)
OKLaboklab(26.17% -0.0006 0.0522)
OKLCHoklch(26.17% 0.052 90.6)
XYZxyz(1.7333, 1.7852, 0.2820)
Luminance0.0179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2301 #010C2E
analogous
#2E0D01 #2E2301 #232E01
triadic
#2E2301 #012E23 #23012E
tetradic
#2E2301 #012E0D #010C2E #2E0123
square
#2E2301 #012E0D #010C2E #2E0123
split-complementary
#2E2301 #01232E #0D012E
monochromatic
#1E1701 #1E1701 #2E2301 #6A5102 #A67E04

Accessibility & contrast

On white

15.48
#2E2301 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#2E2301 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2301
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2301#FFFFFF#000000##FFFFFF
##2E23011.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292200
Deuteranopia (green-blind)
#2B2602
Tritanopia (blue-blind)
#331F1C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2e2301;
/* rgb */ color: rgb(46, 35, 1);
/* oklch */ color: oklch(26.2% 0.052 90.6);
Tailwind
colors: {
  custom: {
    50: '#685d47',
    500: '#2e2301',
    950: '#000000',
  },
}
SCSS
$custom: #2e2301;
$custom-light: #685d47;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2301",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 1
  },
  "hsl": {
    "h": 45.333,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26172,
    "c": 0.05222,
    "h": 90.6
  },
  "luminance": 0.01785
}

Semantic roles & 50–950 ramp

primary
#2E2301
secondary
#172E74
accent
#5DFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2E2301

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

Preview Lab → · Contrast checker → · Palette generator →

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