#42401D#42401D

#42401D is a dark, muted yellow. Relative luminance 0.049; OKLCH L 36.5% C 0.053 H 105.8°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#42401D
RGBrgb(66, 64, 29)
HSLhsl(57, 39%, 19%)
HSVhsv(57, 56%, 26%)
CMYKcmyk(0%, 3%, 56.1%, 74.1%)
CIE-LABlab(26.49, -4.95, 21.53)
CIE-LCHlch(26.49, 22.09, 102.95°)
OKLaboklab(36.46% -0.0144 0.051)
OKLCHoklch(36.46% 0.053 105.8)
XYZxyz(4.3020, 4.9139, 1.8840)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42401D #1D1F42
analogous
#422D1D #42401D #31421D
triadic
#42401D #1D4240 #401D42
tetradic
#42401D #1D422D #1D1F42 #421D31
square
#42401D #1D422D #1D1F42 #421D31
split-complementary
#42401D #1D3142 #2D1D42
monochromatic
#151509 #17170A #42401D #6D6930 #979242

Accessibility & contrast

On white

10.59
#42401D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#42401D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42401D
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42401D#FFFFFF#000000##FFFFFF
##42401D1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E1A
Deuteranopia (green-blind)
#463F1F
Tritanopia (blue-blind)
#473C38
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #42401d;
/* rgb */ color: rgb(66, 64, 29);
/* oklch */ color: oklch(36.5% 0.053 105.8);
Tailwind
colors: {
  custom: {
    50: '#77745a',
    500: '#42401d',
    950: '#000000',
  },
}
SCSS
$custom: #42401d;
$custom-light: #77745a;
$custom-dark: #000000;
JSON
{
  "hex": "#42401d",
  "rgb": {
    "r": 66,
    "g": 64,
    "b": 29
  },
  "hsl": {
    "h": 56.757,
    "s": 38.947,
    "l": 18.627
  },
  "oklch": {
    "l": 0.36456,
    "c": 0.053,
    "h": 105.8
  },
  "luminance": 0.04914
}

Semantic roles & 50–950 ramp

primary
#42401D
secondary
#444777
accent
#5FCF59
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#090804
muted
#7B7B79

Preview Lab

Preview with #42401D

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

Preview Lab → · Contrast checker → · Palette generator →

#42401D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva