#3A381E#3A381E

#3A381E is a dark, muted yellow. Relative luminance 0.038; OKLCH L 33.6% C 0.041 H 104.6°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#3A381E
RGBrgb(58, 56, 30)
HSLhsl(56, 32%, 17%)
HSVhsv(56, 48%, 23%)
CMYKcmyk(0%, 3.4%, 48.3%, 77.3%)
CIE-LABlab(23.07, -3.78, 16.54)
CIE-LCHlch(23.07, 16.97, 102.86°)
OKLaboklab(33.55% -0.0104 0.0401)
OKLCHoklch(33.55% 0.041 104.6)
XYZxyz(3.3935, 3.8217, 1.7869)
Luminance0.0382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A381E #1E203A
analogous
#3A2A1E #3A381E #2E3A1E
triadic
#3A381E #1E3A38 #381E3A
tetradic
#3A381E #1E3A2A #1E203A #3A1E2E
square
#3A381E #1E3A2A #1E203A #3A1E2E
split-complementary
#3A381E #1E2E3A #2A1E3A
monochromatic
#14130A #14130A #3A381E #625F33 #8B8648

Accessibility & contrast

On white

11.90
#3A381E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3A381E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A381E
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A381E#FFFFFF#000000##FFFFFF
##3A381E1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C361C
Deuteranopia (green-blind)
#3D381F
Tritanopia (blue-blind)
#3E3532
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3a381e;
/* rgb */ color: rgb(58, 56, 30);
/* oklch */ color: oklch(33.6% 0.041 104.6);
Tailwind
colors: {
  custom: {
    50: '#716e5a',
    500: '#3a381e',
    950: '#000000',
  },
}
SCSS
$custom: #3a381e;
$custom-light: #716e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a381e",
  "rgb": {
    "r": 58,
    "g": 56,
    "b": 30
  },
  "hsl": {
    "h": 55.714,
    "s": 31.818,
    "l": 17.255
  },
  "oklch": {
    "l": 0.33552,
    "c": 0.04148,
    "h": 104.6
  },
  "luminance": 0.03822
}

Semantic roles & 50–950 ramp

primary
#3A381E
secondary
#46496E
accent
#67C860
background
#F6F6F5
surface
#ECEBE9
border
#C7C6C5
text
#070703
muted
#7A7A78

Preview Lab

Preview with #3A381E

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

Preview Lab → · Contrast checker → · Palette generator →

#3A381E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva