#42402E#42402E

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

Color values

HEX#42402E
RGBrgb(66, 64, 46)
HSLhsl(54, 18%, 22%)
HSVhsv(54, 30%, 26%)
CMYKcmyk(0%, 3%, 30.3%, 74.1%)
CIE-LABlab(26.80, -2.62, 11.35)
CIE-LCHlch(26.80, 11.65, 102.98°)
OKLaboklab(36.8% -0.0063 0.0286)
OKLCHoklch(36.8% 0.029 102.4)
XYZxyz(4.5733, 5.0224, 3.3127)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42402E #2E3042
analogous
#42362E #42402E #3A422E
triadic
#42402E #2E4240 #402E42
tetradic
#42402E #2E4236 #2E3042 #422E3A
square
#42402E #2E4236 #2E3042 #422E3A
split-complementary
#42402E #2E3A42 #362E42
monochromatic
#12110D #1E1D15 #42402E #666347 #8A8660

Accessibility & contrast

On white

10.48
#42402E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42402E
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42402E#FFFFFF#000000##FFFFFF
##42402E1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433F2D
Deuteranopia (green-blind)
#44402F
Tritanopia (blue-blind)
#453E3B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #42402e;
/* rgb */ color: rgb(66, 64, 46);
/* oklch */ color: oklch(36.8% 0.029 102.4);
Tailwind
colors: {
  custom: {
    50: '#767466',
    500: '#42402e',
    950: '#000000',
  },
}
SCSS
$custom: #42402e;
$custom-light: #767466;
$custom-dark: #000000;
JSON
{
  "hex": "#42402e",
  "rgb": {
    "r": 66,
    "g": 64,
    "b": 46
  },
  "hsl": {
    "h": 54,
    "s": 17.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.36803,
    "c": 0.02932,
    "h": 102.4
  },
  "luminance": 0.05022
}

Semantic roles & 50–950 ramp

primary
#42402E
secondary
#595C73
accent
#75BB6D
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#080806
muted
#7B7B7A

Preview Lab

Preview with #42402E

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

Preview Lab → · Contrast checker → · Palette generator →

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