#42422E#42422E

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

Color values

HEX#42422E
RGBrgb(66, 66, 46)
HSLhsl(60, 18%, 22%)
HSVhsv(60, 30%, 26%)
CMYKcmyk(0%, 0%, 30.3%, 74.1%)
CIE-LABlab(27.44, -3.88, 12.22)
CIE-LCHlch(27.44, 12.82, 107.60°)
OKLaboklab(37.31% -0.0099 0.0307)
OKLCHoklch(37.31% 0.032 107.9)
XYZxyz(4.6881, 5.2520, 3.3510)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42422E #2E2E42
analogous
#42382E #42422E #38422E
triadic
#42422E #2E4242 #422E42
tetradic
#42422E #2E4238 #2E2E42 #422E38
square
#42422E #2E4238 #2E2E42 #422E38
split-complementary
#42422E #2E3842 #382E42
monochromatic
#12120D #1E1E15 #42422E #666647 #8A8A60

Accessibility & contrast

On white

10.24
#42422E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42422E
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42422E#FFFFFF#000000##FFFFFF
##42422E1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45402D
Deuteranopia (green-blind)
#46412F
Tritanopia (blue-blind)
#453F3D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #42422e;
/* rgb */ color: rgb(66, 66, 46);
/* oklch */ color: oklch(37.3% 0.032 107.9);
Tailwind
colors: {
  custom: {
    50: '#767666',
    500: '#42422e',
    950: '#000000',
  },
}
SCSS
$custom: #42422e;
$custom-light: #767666;
$custom-dark: #000000;
JSON
{
  "hex": "#42422e",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 46
  },
  "hsl": {
    "h": 60,
    "s": 17.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.37312,
    "c": 0.03228,
    "h": 107.9
  },
  "luminance": 0.05252
}

Semantic roles & 50–950 ramp

primary
#42422E
secondary
#595973
accent
#6DBB6D
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#080806
muted
#7B7B7A

Preview Lab

Preview with #42422E

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

Preview Lab → · Contrast checker → · Palette generator →

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