#2E2701#2E2701

#2E2701 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.2% C 0.055 H 98.6°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#2E2701
RGBrgb(46, 39, 1)
HSLhsl(51, 96%, 9%)
HSVhsv(51, 98%, 18%)
CMYKcmyk(0%, 15.2%, 97.8%, 82%)
CIE-LABlab(15.67, -1.80, 22.38)
CIE-LCHlch(15.67, 22.46, 94.61°)
OKLaboklab(27.24% -0.0083 0.0546)
OKLCHoklch(27.24% 0.055 98.6)
XYZxyz(1.8578, 2.0342, 0.3235)
Luminance0.0203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2701 #01082E
analogous
#2E1101 #2E2701 #1F2E01
triadic
#2E2701 #012E27 #27012E
tetradic
#2E2701 #012E11 #01082E #2E011F
square
#2E2701 #012E11 #01082E #2E011F
split-complementary
#2E2701 #011F2E #11012E
monochromatic
#1E1901 #1E1901 #2E2701 #6A5A02 #A68D04

Accessibility & contrast

On white

14.93
#2E2701 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2701
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2701#FFFFFF#000000##FFFFFF
##2E27011.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2701;
/* rgb */ color: rgb(46, 39, 1);
/* oklch */ color: oklch(27.2% 0.055 98.6);
Tailwind
colors: {
  custom: {
    50: '#686047',
    500: '#2e2701',
    950: '#000000',
  },
}
SCSS
$custom: #2e2701;
$custom-light: #686047;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2701",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 1
  },
  "hsl": {
    "h": 50.667,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27238,
    "c": 0.0552,
    "h": 98.6
  },
  "luminance": 0.02034
}

Semantic roles & 50–950 ramp

primary
#2E2701
secondary
#172574
accent
#4AFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2E2701

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

Preview Lab → · Contrast checker → · Palette generator →

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