#42412E#42412E

#42412E is a dark, muted yellow. Relative luminance 0.051; OKLCH L 37.1% C 0.031 H 105.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#42412E
RGBrgb(66, 65, 46)
HSLhsl(57, 18%, 22%)
HSVhsv(57, 30%, 26%)
CMYKcmyk(0%, 1.5%, 30.3%, 74.1%)
CIE-LABlab(27.12, -3.25, 11.79)
CIE-LCHlch(27.12, 12.23, 105.41°)
OKLaboklab(37.06% -0.0081 0.0297)
OKLCHoklch(37.06% 0.031 105.3)
XYZxyz(4.6302, 5.1362, 3.3317)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42412E #2E2F42
analogous
#42372E #42412E #39422E
triadic
#42412E #2E4241 #412E42
tetradic
#42412E #2E4237 #2E2F42 #422E39
square
#42412E #2E4237 #2E2F42 #422E39
split-complementary
#42412E #2E3942 #372E42
monochromatic
#12120D #1E1D15 #42412E #666547 #8A8860

Accessibility & contrast

On white

10.36
#42412E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#42412E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42412E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42412E#FFFFFF#000000##FFFFFF
##42412E1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44402D
Deuteranopia (green-blind)
#45412F
Tritanopia (blue-blind)
#453F3C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #42412e;
/* rgb */ color: rgb(66, 65, 46);
/* oklch */ color: oklch(37.1% 0.031 105.3);
Tailwind
colors: {
  custom: {
    50: '#767566',
    500: '#42412e',
    950: '#000000',
  },
}
SCSS
$custom: #42412e;
$custom-light: #767566;
$custom-dark: #000000;
JSON
{
  "hex": "#42412e",
  "rgb": {
    "r": 66,
    "g": 65,
    "b": 46
  },
  "hsl": {
    "h": 57,
    "s": 17.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.37057,
    "c": 0.03077,
    "h": 105.3
  },
  "luminance": 0.05136
}

Semantic roles & 50–950 ramp

primary
#42412E
secondary
#595A73
accent
#71BB6D
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#080806
muted
#7B7B7A

Preview Lab

Preview with #42412E

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

Preview Lab → · Contrast checker → · Palette generator →

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