#2E2801#2E2801

#2E2801 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.5% C 0.056 H 100.4°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#2E2801
RGBrgb(46, 40, 1)
HSLhsl(52, 96%, 9%)
HSVhsv(52, 98%, 18%)
CMYKcmyk(0%, 13%, 97.8%, 82%)
CIE-LABlab(16.01, -2.48, 22.81)
CIE-LCHlch(16.01, 22.95, 96.19°)
OKLaboklab(27.51% -0.0102 0.0552)
OKLCHoklch(27.51% 0.056 100.4)
XYZxyz(1.8911, 2.1007, 0.3346)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2801 #01072E
analogous
#2E1201 #2E2801 #1E2E01
triadic
#2E2801 #012E28 #28012E
tetradic
#2E2801 #012E12 #01072E #2E011E
square
#2E2801 #012E12 #01072E #2E011E
split-complementary
#2E2801 #011E2E #12012E
monochromatic
#1E1A01 #1E1A01 #2E2801 #6A5C02 #A69004

Accessibility & contrast

On white

14.79
#2E2801 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2E2801 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2801
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2801#FFFFFF#000000##FFFFFF
##2E28011.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2700
Deuteranopia (green-blind)
#2F2903
Tritanopia (blue-blind)
#332421
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2e2801;
/* rgb */ color: rgb(46, 40, 1);
/* oklch */ color: oklch(27.5% 0.056 100.4);
Tailwind
colors: {
  custom: {
    50: '#686147',
    500: '#2e2801',
    950: '#000000',
  },
}
SCSS
$custom: #2e2801;
$custom-light: #686147;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2801",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 1
  },
  "hsl": {
    "h": 52,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27509,
    "c": 0.05611,
    "h": 100.4
  },
  "luminance": 0.02101
}

Semantic roles & 50–950 ramp

primary
#2E2801
secondary
#172374
accent
#45FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2E2801

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

Preview Lab → · Contrast checker → · Palette generator →

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