#42402A#42402A

#42402A is a dark, muted yellow. Relative luminance 0.050; OKLCH L 36.7% C 0.035 H 103.6°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#42402A
RGBrgb(66, 64, 42)
HSLhsl(55, 22%, 21%)
HSVhsv(55, 36%, 26%)
CMYKcmyk(0%, 3%, 36.4%, 74.1%)
CIE-LABlab(26.71, -3.25, 13.80)
CIE-LCHlch(26.71, 14.18, 103.25°)
OKLaboklab(36.71% -0.0083 0.0344)
OKLCHoklch(36.71% 0.035 103.6)
XYZxyz(4.4981, 4.9923, 2.9167)
Luminance0.0499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42402A #2A2C42
analogous
#42342A #42402A #38422A
triadic
#42402A #2A4240 #402A42
tetradic
#42402A #2A4234 #2A2C42 #422A38
square
#42402A #2A4234 #2A2C42 #422A38
split-complementary
#42402A #2A3842 #342A42
monochromatic
#13120C #1D1C12 #42402A #676442 #8D895A

Accessibility & contrast

On white

10.51
#42402A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#42402A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42402A
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42402A#FFFFFF#000000##FFFFFF
##42402A1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443E28
Deuteranopia (green-blind)
#45402B
Tritanopia (blue-blind)
#453D3A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #42402a;
/* rgb */ color: rgb(66, 64, 42);
/* oklch */ color: oklch(36.7% 0.035 103.6);
Tailwind
colors: {
  custom: {
    50: '#777463',
    500: '#42402a',
    950: '#000000',
  },
}
SCSS
$custom: #42402a;
$custom-light: #777463;
$custom-dark: #000000;
JSON
{
  "hex": "#42402a",
  "rgb": {
    "r": 66,
    "g": 64,
    "b": 42
  },
  "hsl": {
    "h": 55,
    "s": 22.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.36707,
    "c": 0.03534,
    "h": 103.6
  },
  "luminance": 0.04992
}

Semantic roles & 50–950 ramp

primary
#42402A
secondary
#545773
accent
#70BF69
background
#F7F7F5
surface
#EDEDEA
border
#C8C8C6
text
#080805
muted
#7B7B79

Preview Lab

Preview with #42402A

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

Preview Lab → · Contrast checker → · Palette generator →

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