#3E401B#3E401B

#3E401B is a dark, muted yellow. Relative luminance 0.048; OKLCH L 36.0% C 0.056 H 111.7°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#3E401B
RGBrgb(62, 64, 27)
HSLhsl(63, 41%, 18%)
HSVhsv(63, 58%, 25%)
CMYKcmyk(3.1%, 0%, 57.8%, 74.9%)
CIE-LABlab(26.07, -7.16, 22.10)
CIE-LCHlch(26.07, 23.23, 107.94°)
OKLaboklab(36.02% -0.0207 0.0521)
OKLCHoklch(36.02% 0.056 111.7)
XYZxyz(4.0179, 4.7701, 1.7458)
Luminance0.0477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E401B #1D1B40
analogous
#402F1B #3E401B #2B401B
triadic
#3E401B #1B3E40 #401B3E
tetradic
#3E401B #1B402F #1D1B40 #401B2B
square
#3E401B #1B402F #1D1B40 #401B2B
split-complementary
#3E401B #1B2B40 #2F1B40
monochromatic
#151609 #151609 #3E401B #686B2D #91963F

Accessibility & contrast

On white

10.75
#3E401B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3E401B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E401B
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E401B#FFFFFF#000000##FFFFFF
##3E401B1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D18
Deuteranopia (green-blind)
#453E1D
Tritanopia (blue-blind)
#423C38
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e401b;
/* rgb */ color: rgb(62, 64, 27);
/* oklch */ color: oklch(36.0% 0.056 111.7);
Tailwind
colors: {
  custom: {
    50: '#747458',
    500: '#3e401b',
    950: '#000000',
  },
}
SCSS
$custom: #3e401b;
$custom-light: #747458;
$custom-dark: #000000;
JSON
{
  "hex": "#3e401b",
  "rgb": {
    "r": 62,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 63.243,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36018,
    "c": 0.05607,
    "h": 111.7
  },
  "luminance": 0.0477
}

Semantic roles & 50–950 ramp

primary
#3E401B
secondary
#444175
accent
#57D15E
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#080803
muted
#7B7B78

Preview Lab

Preview with #3E401B

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

Preview Lab → · Contrast checker → · Palette generator →

#3E401B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva