#3A3105#3A3105

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

Color values

HEX#3A3105
RGBrgb(58, 49, 5)
HSLhsl(50, 84%, 12%)
HSVhsv(50, 91%, 23%)
CMYKcmyk(0%, 15.5%, 91.4%, 77.3%)
CIE-LABlab(20.47, -1.48, 26.82)
CIE-LCHlch(20.47, 26.86, 93.16°)
OKLaboklab(31.39% -0.0073 0.0599)
OKLCHoklch(31.39% 0.06 96.9)
XYZxyz(2.8708, 3.1073, 0.5921)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3105 #050E3A
analogous
#3A1605 #3A3105 #293A05
triadic
#3A3105 #053A31 #31053A
tetradic
#3A3105 #053A16 #050E3A #3A0529
square
#3A3105 #053A16 #050E3A #3A0529
split-complementary
#3A3105 #05293A #16053A
monochromatic
#1C1802 #1C1802 #3A3105 #72610A #AB900F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A3105#FFFFFF#000000##FFFFFF
##3A31051.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)
#3A3308
Tritanopia (blue-blind)
#402C29
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3a3105;
/* rgb */ color: rgb(58, 49, 5);
/* oklch */ color: oklch(31.4% 0.060 96.9);
Tailwind
colors: {
  custom: {
    50: '#72684a',
    500: '#3a3105',
    950: '#000000',
  },
}
SCSS
$custom: #3a3105;
$custom-light: #72684a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3105",
  "rgb": {
    "r": 58,
    "g": 49,
    "b": 5
  },
  "hsl": {
    "h": 49.811,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.3139,
    "c": 0.06034,
    "h": 96.9
  },
  "luminance": 0.03107
}

Semantic roles & 50–950 ramp

primary
#3A3105
secondary
#202F7B
accent
#50FA2D
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3A3105

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

Preview Lab → · Contrast checker → · Palette generator →

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