#42401C#42401C

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

Color values

HEX#42401C
RGBrgb(66, 64, 28)
HSLhsl(57, 40%, 18%)
HSVhsv(57, 58%, 26%)
CMYKcmyk(0%, 3%, 57.6%, 74.1%)
CIE-LABlab(26.47, -5.06, 22.09)
CIE-LCHlch(26.47, 22.67, 102.89°)
OKLaboklab(36.44% -0.0149 0.0521)
OKLCHoklch(36.44% 0.054 105.9)
XYZxyz(4.2899, 4.9090, 1.8199)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42401C #1C1E42
analogous
#422D1C #42401C #31421C
triadic
#42401C #1C4240 #401C42
tetradic
#42401C #1C422D #1C1E42 #421C31
square
#42401C #1C422D #1C1E42 #421C31
split-complementary
#42401C #1C3142 #2D1C42
monochromatic
#151509 #17160A #42401C #6D6A2E #989340

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42401C#FFFFFF#000000##FFFFFF
##42401C1.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)
#453E19
Deuteranopia (green-blind)
#463F1E
Tritanopia (blue-blind)
#473C38
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #42401c;
/* rgb */ color: rgb(66, 64, 28);
/* oklch */ color: oklch(36.4% 0.054 105.9);
Tailwind
colors: {
  custom: {
    50: '#777459',
    500: '#42401c',
    950: '#000000',
  },
}
SCSS
$custom: #42401c;
$custom-light: #777459;
$custom-dark: #000000;
JSON
{
  "hex": "#42401c",
  "rgb": {
    "r": 66,
    "g": 64,
    "b": 28
  },
  "hsl": {
    "h": 56.842,
    "s": 40.426,
    "l": 18.431
  },
  "oklch": {
    "l": 0.3644,
    "c": 0.05422,
    "h": 105.9
  },
  "luminance": 0.04909
}

Semantic roles & 50–950 ramp

primary
#42401C
secondary
#434577
accent
#5ED058
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#090803
muted
#7B7B78

Preview Lab

Preview with #42401C

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

Preview Lab → · Contrast checker → · Palette generator →

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