#42391C#42391C

#42391C is a dark, muted yellow. Relative luminance 0.042; OKLCH L 34.7% C 0.046 H 92.6°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#42391C
RGBrgb(66, 57, 28)
HSLhsl(46, 40%, 18%)
HSVhsv(46, 58%, 26%)
CMYKcmyk(0%, 13.6%, 57.6%, 74.1%)
CIE-LABlab(24.22, -0.62, 19.39)
CIE-LCHlch(24.22, 19.40, 91.83°)
OKLaboklab(34.66% -0.0021 0.0462)
OKLCHoklch(34.66% 0.046 92.6)
XYZxyz(3.9196, 4.1685, 1.6965)
Luminance0.0417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42391C #1C2542
analogous
#42261C #42391C #38421C
triadic
#42391C #1C4239 #391C42
tetradic
#42391C #1C4226 #1C2542 #421C38
square
#42391C #1C4226 #1C2542 #421C38
split-complementary
#42391C #1C3842 #261C42
monochromatic
#151309 #17140A #42391C #6D5E2E #988340

Accessibility & contrast

On white

11.45
#42391C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#42391C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42391C
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42391C#FFFFFF#000000##FFFFFF
##42391C1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F381A
Deuteranopia (green-blind)
#413B1D
Tritanopia (blue-blind)
#473532
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #42391c;
/* rgb */ color: rgb(66, 57, 28);
/* oklch */ color: oklch(34.7% 0.046 92.6);
Tailwind
colors: {
  custom: {
    50: '#776f59',
    500: '#42391c',
    950: '#000000',
  },
}
SCSS
$custom: #42391c;
$custom-light: #776f59;
$custom-dark: #000000;
JSON
{
  "hex": "#42391c",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 28
  },
  "hsl": {
    "h": 45.789,
    "s": 40.426,
    "l": 18.431
  },
  "oklch": {
    "l": 0.34655,
    "c": 0.04626,
    "h": 92.6
  },
  "luminance": 0.04168
}

Semantic roles & 50–950 ramp

primary
#42391C
secondary
#434F77
accent
#74D058
background
#F7F6F5
surface
#EDECE9
border
#C8C7C5
text
#090703
muted
#7B7A78

Preview Lab

Preview with #42391C

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

Preview Lab → · Contrast checker → · Palette generator →

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