#42402C#42402C

#42402C is a dark, muted yellow. Relative luminance 0.050; OKLCH L 36.8% C 0.032 H 103.0°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#42402C
RGBrgb(66, 64, 44)
HSLhsl(55, 20%, 22%)
HSVhsv(55, 33%, 26%)
CMYKcmyk(0%, 3%, 33.3%, 74.1%)
CIE-LABlab(26.75, -2.94, 12.58)
CIE-LCHlch(26.75, 12.92, 103.16°)
OKLaboklab(36.75% -0.0073 0.0315)
OKLCHoklch(36.75% 0.032 103)
XYZxyz(4.5348, 5.0070, 3.1099)
Luminance0.0501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42402C #2C2E42
analogous
#42352C #42402C #39422C
triadic
#42402C #2C4240 #402C42
tetradic
#42402C #2C4235 #2C2E42 #422C39
square
#42402C #2C4235 #2C2E42 #422C39
split-complementary
#42402C #2C3942 #352C42
monochromatic
#12120C #1D1C14 #42402C #676444 #8B875D

Accessibility & contrast

On white

10.49
#42402C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42402C
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42402C#FFFFFF#000000##FFFFFF
##42402C1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443F2B
Deuteranopia (green-blind)
#44402D
Tritanopia (blue-blind)
#453D3B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #42402c;
/* rgb */ color: rgb(66, 64, 44);
/* oklch */ color: oklch(36.8% 0.032 103.0);
Tailwind
colors: {
  custom: {
    50: '#767465',
    500: '#42402c',
    950: '#000000',
  },
}
SCSS
$custom: #42402c;
$custom-light: #767465;
$custom-dark: #000000;
JSON
{
  "hex": "#42402c",
  "rgb": {
    "r": 66,
    "g": 64,
    "b": 44
  },
  "hsl": {
    "h": 54.545,
    "s": 20,
    "l": 21.569
  },
  "oklch": {
    "l": 0.36754,
    "c": 0.03235,
    "h": 103
  },
  "luminance": 0.05007
}

Semantic roles & 50–950 ramp

primary
#42402C
secondary
#575973
accent
#73BD6B
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#080805
muted
#7B7B7A

Preview Lab

Preview with #42402C

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

Preview Lab → · Contrast checker → · Palette generator →

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