#42391B#42391B

#42391B is a dark, muted yellow. Relative luminance 0.042; OKLCH L 34.6% C 0.047 H 93.1°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#42391B
RGBrgb(66, 57, 27)
HSLhsl(46, 42%, 18%)
HSVhsv(46, 59%, 26%)
CMYKcmyk(0%, 13.6%, 59.1%, 74.1%)
CIE-LABlab(24.21, -0.73, 19.98)
CIE-LCHlch(24.21, 20.00, 92.09°)
OKLaboklab(34.64% -0.0026 0.0474)
OKLCHoklch(34.64% 0.047 93.1)
XYZxyz(3.9079, 4.1638, 1.6346)
Luminance0.0416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42391B #1B2442
analogous
#42251B #42391B #37421B
triadic
#42391B #1B4239 #391B42
tetradic
#42391B #1B4225 #1B2442 #421B37
square
#42391B #1B4225 #1B2442 #421B37
split-complementary
#42391B #1B3742 #251B42
monochromatic
#161309 #171309 #42391B #6D5F2D #99843F

Accessibility & contrast

On white

11.46
#42391B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42391B
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42391B#FFFFFF#000000##FFFFFF
##42391B1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42391b;
/* rgb */ color: rgb(66, 57, 27);
/* oklch */ color: oklch(34.6% 0.047 93.1);
Tailwind
colors: {
  custom: {
    50: '#786f58',
    500: '#42391b',
    950: '#000000',
  },
}
SCSS
$custom: #42391b;
$custom-light: #786f58;
$custom-dark: #000000;
JSON
{
  "hex": "#42391b",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 27
  },
  "hsl": {
    "h": 46.154,
    "s": 41.935,
    "l": 18.235
  },
  "oklch": {
    "l": 0.34638,
    "c": 0.04748,
    "h": 93.1
  },
  "luminance": 0.04164
}

Semantic roles & 50–950 ramp

primary
#42391B
secondary
#414E78
accent
#73D256
background
#F7F6F5
surface
#EDECE9
border
#C8C7C5
text
#090703
muted
#7B7A78

Preview Lab

Preview with #42391B

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

Preview Lab → · Contrast checker → · Palette generator →

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