#3A3108#3A3108

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

Color values

HEX#3A3108
RGBrgb(58, 49, 8)
HSLhsl(49, 76%, 13%)
HSVhsv(49, 86%, 23%)
CMYKcmyk(0%, 15.5%, 86.2%, 77.3%)
CIE-LABlab(20.49, -1.29, 25.63)
CIE-LCHlch(20.49, 25.66, 92.89°)
OKLaboklab(31.42% -0.0063 0.0575)
OKLCHoklch(31.42% 0.058 96.3)
XYZxyz(2.8872, 3.1139, 0.6786)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3108 #08113A
analogous
#3A1808 #3A3108 #2A3A08
triadic
#3A3108 #083A31 #31083A
tetradic
#3A3108 #083A18 #08113A #3A082A
square
#3A3108 #083A18 #08113A #3A082A
split-complementary
#3A3108 #082A3A #18083A
monochromatic
#1B1704 #1B1704 #3A3108 #705E0F #A68C17

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A3108#FFFFFF#000000##FFFFFF
##3A31081.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)
#373003
Deuteranopia (green-blind)
#39330A
Tritanopia (blue-blind)
#3F2C29
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3a3108;
/* rgb */ color: rgb(58, 49, 8);
/* oklch */ color: oklch(31.4% 0.058 96.3);
Tailwind
colors: {
  custom: {
    50: '#72684b',
    500: '#3a3108',
    950: '#000000',
  },
}
SCSS
$custom: #3a3108;
$custom-light: #72684b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3108",
  "rgb": {
    "r": 58,
    "g": 49,
    "b": 8
  },
  "hsl": {
    "h": 49.2,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.31419,
    "c": 0.05781,
    "h": 96.3
  },
  "luminance": 0.03114
}

Semantic roles & 50–950 ramp

primary
#3A3108
secondary
#253479
accent
#57F235
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3A3108

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

Preview Lab → · Contrast checker → · Palette generator →

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