#2E2901#2E2901

#2E2901 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.8% C 0.057 H 102.2°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#2E2901
RGBrgb(46, 41, 1)
HSLhsl(53, 96%, 9%)
HSVhsv(53, 98%, 18%)
CMYKcmyk(0%, 10.9%, 97.8%, 82%)
CIE-LABlab(16.35, -3.15, 23.24)
CIE-LCHlch(16.35, 23.45, 97.71°)
OKLaboklab(27.78% -0.012 0.0558)
OKLCHoklch(27.78% 0.057 102.2)
XYZxyz(1.9252, 2.1690, 0.3460)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2901 #01062E
analogous
#2E1301 #2E2901 #1D2E01
triadic
#2E2901 #012E29 #29012E
tetradic
#2E2901 #012E13 #01062E #2E011D
square
#2E2901 #012E13 #01062E #2E011D
split-complementary
#2E2901 #011D2E #13012E
monochromatic
#1E1B01 #1E1B01 #2E2901 #6A5E02 #A69404

Accessibility & contrast

On white

14.65
#2E2901 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2E2901 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2901
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2901#FFFFFF#000000##FFFFFF
##2E29011.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#302903
Tritanopia (blue-blind)
#332521
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2e2901;
/* rgb */ color: rgb(46, 41, 1);
/* oklch */ color: oklch(27.8% 0.057 102.2);
Tailwind
colors: {
  custom: {
    50: '#686247',
    500: '#2e2901',
    950: '#000000',
  },
}
SCSS
$custom: #2e2901;
$custom-light: #686247;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2901",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 1
  },
  "hsl": {
    "h": 53.333,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27782,
    "c": 0.05706,
    "h": 102.2
  },
  "luminance": 0.02169
}

Semantic roles & 50–950 ramp

primary
#2E2901
secondary
#172174
accent
#41FF29
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2E2901

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

Preview Lab → · Contrast checker → · Palette generator →

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