#2E3401#2E3401

#2E3401 is a dark, moderate yellow. Relative luminance 0.030; OKLCH L 30.9% C 0.070 H 116.6°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#2E3401
RGBrgb(46, 52, 1)
HSLhsl(67, 96%, 10%)
HSVhsv(67, 98%, 20%)
CMYKcmyk(11.5%, 0%, 98.1%, 79.6%)
CIE-LABlab(20.20, -10.16, 27.80)
CIE-LCHlch(20.20, 29.60, 110.07°)
OKLaboklab(30.86% -0.0314 0.0625)
OKLCHoklch(30.86% 0.07 116.6)
XYZxyz(2.3603, 3.0391, 0.4910)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3401 #070134
analogous
#342001 #2E3401 #143401
triadic
#2E3401 #012E34 #34012E
tetradic
#2E3401 #013420 #070134 #340114
square
#2E3401 #013420 #070134 #340114
split-complementary
#2E3401 #011434 #200134
monochromatic
#1B1E01 #1B1E01 #2E3401 #637002 #98AC03

Accessibility & contrast

On white

13.06
#2E3401 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2E3401 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3401
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3401#FFFFFF#000000##FFFFFF
##2E34011.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393100
Deuteranopia (green-blind)
#383105
Tritanopia (blue-blind)
#32302B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e3401;
/* rgb */ color: rgb(46, 52, 1);
/* oklch */ color: oklch(30.9% 0.070 116.6);
Tailwind
colors: {
  custom: {
    50: '#696b48',
    500: '#2e3401',
    950: '#000000',
  },
}
SCSS
$custom: #2e3401;
$custom-light: #696b48;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3401",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 1
  },
  "hsl": {
    "h": 67.059,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.30861,
    "c": 0.06992,
    "h": 116.6
  },
  "luminance": 0.03039
}

Semantic roles & 50–950 ramp

primary
#2E3401
secondary
#231879
accent
#29FF42
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2E3401

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

Preview Lab → · Contrast checker → · Palette generator →

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