#3A3107#3A3107

#3A3107 is a dark, muted yellow. Relative luminance 0.031; OKLCH L 31.4% C 0.059 H 96.5°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#3A3107
RGBrgb(58, 49, 7)
HSLhsl(49, 78%, 13%)
HSVhsv(49, 88%, 23%)
CMYKcmyk(0%, 15.5%, 87.9%, 77.3%)
CIE-LABlab(20.49, -1.36, 26.03)
CIE-LCHlch(20.49, 26.06, 92.98°)
OKLaboklab(31.41% -0.0066 0.0583)
OKLCHoklch(31.41% 0.059 96.5)
XYZxyz(2.8817, 3.1117, 0.6498)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3107 #07103A
analogous
#3A1707 #3A3107 #293A07
triadic
#3A3107 #073A31 #31073A
tetradic
#3A3107 #073A17 #07103A #3A0729
square
#3A3107 #073A17 #07103A #3A0729
split-complementary
#3A3107 #07293A #17073A
monochromatic
#1B1703 #1B1703 #3A3107 #715F0E #A78D14

Accessibility & contrast

On white

12.94
#3A3107 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A3107
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3107#FFFFFF#000000##FFFFFF
##3A31071.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373002
Deuteranopia (green-blind)
#393309
Tritanopia (blue-blind)
#3F2C29
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3a3107;
/* rgb */ color: rgb(58, 49, 7);
/* oklch */ color: oklch(31.4% 0.059 96.5);
Tailwind
colors: {
  custom: {
    50: '#72684b',
    500: '#3a3107',
    950: '#000000',
  },
}
SCSS
$custom: #3a3107;
$custom-light: #72684b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3107",
  "rgb": {
    "r": 58,
    "g": 49,
    "b": 7
  },
  "hsl": {
    "h": 49.412,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.31409,
    "c": 0.05864,
    "h": 96.5
  },
  "luminance": 0.03112
}

Semantic roles & 50–950 ramp

primary
#3A3107
secondary
#233379
accent
#55F533
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3A3107

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

Preview Lab → · Contrast checker → · Palette generator →

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