#42401A#42401A

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

Color values

HEX#42401A
RGBrgb(66, 64, 26)
HSLhsl(57, 43%, 18%)
HSVhsv(57, 61%, 26%)
CMYKcmyk(0%, 3%, 60.6%, 74.1%)
CIE-LABlab(26.45, -5.26, 23.22)
CIE-LCHlch(26.45, 23.80, 102.77°)
OKLaboklab(36.41% -0.0157 0.0543)
OKLCHoklch(36.41% 0.057 106.1)
XYZxyz(4.2667, 4.8997, 1.6981)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42401A #1A1C42
analogous
#422C1A #42401A #30421A
triadic
#42401A #1A4240 #401A42
tetradic
#42401A #1A422C #1A1C42 #421A30
square
#42401A #1A422C #1A1C42 #421A30
split-complementary
#42401A #1A3042 #2C1A42
monochromatic
#161509 #161509 #42401A #6E6B2B #9A953D

Accessibility & contrast

On white

10.61
#42401A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42401A
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42401A#FFFFFF#000000##FFFFFF
##42401A1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E16
Deuteranopia (green-blind)
#463F1C
Tritanopia (blue-blind)
#473C37
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #42401a;
/* rgb */ color: rgb(66, 64, 26);
/* oklch */ color: oklch(36.4% 0.057 106.1);
Tailwind
colors: {
  custom: {
    50: '#787458',
    500: '#42401a',
    950: '#000000',
  },
}
SCSS
$custom: #42401a;
$custom-light: #787458;
$custom-dark: #000000;
JSON
{
  "hex": "#42401a",
  "rgb": {
    "r": 66,
    "g": 64,
    "b": 26
  },
  "hsl": {
    "h": 57,
    "s": 43.478,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3641,
    "c": 0.05656,
    "h": 106.1
  },
  "luminance": 0.049
}

Semantic roles & 50–950 ramp

primary
#42401A
secondary
#404378
accent
#5BD355
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#090803
muted
#7B7B78

Preview Lab

Preview with #42401A

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

Preview Lab → · Contrast checker → · Palette generator →

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