#42422D#42422D

#42422D is a dark, muted yellow. Relative luminance 0.052; OKLCH L 37.3% C 0.034 H 107.9°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#42422D
RGBrgb(66, 66, 45)
HSLhsl(60, 19%, 22%)
HSVhsv(60, 32%, 26%)
CMYKcmyk(0%, 0%, 31.8%, 74.1%)
CIE-LABlab(27.42, -4.04, 12.83)
CIE-LCHlch(27.42, 13.45, 107.48°)
OKLaboklab(37.29% -0.0104 0.0322)
OKLCHoklch(37.29% 0.034 107.9)
XYZxyz(4.6686, 5.2442, 3.2484)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42422D #2D2D42
analogous
#42382D #42422D #38422D
triadic
#42422D #2D4242 #422D42
tetradic
#42422D #2D4238 #2D2D42 #422D38
square
#42422D #2D4238 #2D2D42 #422D38
split-complementary
#42422D #2D3842 #382D42
monochromatic
#12120C #1E1E14 #42422D #666646 #8B8B5F

Accessibility & contrast

On white

10.25
#42422D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#42422D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42422D
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42422D#FFFFFF#000000##FFFFFF
##42422D1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45402C
Deuteranopia (green-blind)
#46412E
Tritanopia (blue-blind)
#453F3C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #42422d;
/* rgb */ color: rgb(66, 66, 45);
/* oklch */ color: oklch(37.3% 0.034 107.9);
Tailwind
colors: {
  custom: {
    50: '#767666',
    500: '#42422d',
    950: '#000000',
  },
}
SCSS
$custom: #42422d;
$custom-light: #767666;
$custom-dark: #000000;
JSON
{
  "hex": "#42422d",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 45
  },
  "hsl": {
    "h": 60,
    "s": 18.919,
    "l": 21.765
  },
  "oklch": {
    "l": 0.37288,
    "c": 0.03379,
    "h": 107.9
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

primary
#42422D
secondary
#585873
accent
#6CBC6C
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#080805
muted
#7B7B7A

Preview Lab

Preview with #42422D

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

Preview Lab → · Contrast checker → · Palette generator →

#42422D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva