#42401B#42401B

#42401B is a dark, muted yellow. Relative luminance 0.049; OKLCH L 36.4% C 0.055 H 106.0°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#42401B
RGBrgb(66, 64, 27)
HSLhsl(57, 42%, 18%)
HSVhsv(57, 59%, 26%)
CMYKcmyk(0%, 3%, 59.1%, 74.1%)
CIE-LABlab(26.46, -5.16, 22.66)
CIE-LCHlch(26.46, 23.24, 102.83°)
OKLaboklab(36.43% -0.0153 0.0533)
OKLCHoklch(36.43% 0.055 106)
XYZxyz(4.2781, 4.9043, 1.7580)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42401B #1B1D42
analogous
#422C1B #42401B #30421B
triadic
#42401B #1B4240 #401B42
tetradic
#42401B #1B422C #1B1D42 #421B30
square
#42401B #1B422C #1B1D42 #421B30
split-complementary
#42401B #1B3042 #2C1B42
monochromatic
#161509 #171609 #42401B #6D6A2D #99943F

Accessibility & contrast

On white

10.60
#42401B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42401B
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42401B#FFFFFF#000000##FFFFFF
##42401B1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42401b;
/* rgb */ color: rgb(66, 64, 27);
/* oklch */ color: oklch(36.4% 0.055 106.0);
Tailwind
colors: {
  custom: {
    50: '#787458',
    500: '#42401b',
    950: '#000000',
  },
}
SCSS
$custom: #42401b;
$custom-light: #787458;
$custom-dark: #000000;
JSON
{
  "hex": "#42401b",
  "rgb": {
    "r": 66,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 56.923,
    "s": 41.935,
    "l": 18.235
  },
  "oklch": {
    "l": 0.36425,
    "c": 0.0554,
    "h": 106
  },
  "luminance": 0.04904
}

Semantic roles & 50–950 ramp

primary
#42401B
secondary
#414478
accent
#5CD256
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#090803
muted
#7B7B78

Preview Lab

Preview with #42401B

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

Preview Lab → · Contrast checker → · Palette generator →

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