#3A3104#3A3104

#3A3104 is a dark, moderate yellow. Relative luminance 0.031; OKLCH L 31.4% C 0.061 H 97.2°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#3A3104
RGBrgb(58, 49, 4)
HSLhsl(50, 87%, 12%)
HSVhsv(50, 93%, 23%)
CMYKcmyk(0%, 15.5%, 93.1%, 77.3%)
CIE-LABlab(20.46, -1.54, 27.22)
CIE-LCHlch(20.46, 27.26, 93.24°)
OKLaboklab(31.38% -0.0076 0.0607)
OKLCHoklch(31.38% 0.061 97.2)
XYZxyz(2.8653, 3.1051, 0.5633)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3104 #040D3A
analogous
#3A1604 #3A3104 #283A04
triadic
#3A3104 #043A31 #31043A
tetradic
#3A3104 #043A16 #040D3A #3A0428
square
#3A3104 #043A16 #040D3A #3A0428
split-complementary
#3A3104 #04283A #16043A
monochromatic
#1D1802 #1D1802 #3A3104 #736108 #AD920C

Accessibility & contrast

On white

12.95
#3A3104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#3A3104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3104
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3104#FFFFFF#000000##FFFFFF
##3A31041.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373000
Deuteranopia (green-blind)
#3A3307
Tritanopia (blue-blind)
#402C29
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3a3104;
/* rgb */ color: rgb(58, 49, 4);
/* oklch */ color: oklch(31.4% 0.061 97.2);
Tailwind
colors: {
  custom: {
    50: '#736849',
    500: '#3a3104',
    950: '#000000',
  },
}
SCSS
$custom: #3a3104;
$custom-light: #736849;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3104",
  "rgb": {
    "r": 58,
    "g": 49,
    "b": 4
  },
  "hsl": {
    "h": 50,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31381,
    "c": 0.06121,
    "h": 97.2
  },
  "luminance": 0.03105
}

Semantic roles & 50–950 ramp

primary
#3A3104
secondary
#1E2E7C
accent
#4EFD2B
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3A3104

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

Preview Lab → · Contrast checker → · Palette generator →

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