#3A3103#3A3103

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

Color values

HEX#3A3103
RGBrgb(58, 49, 3)
HSLhsl(50, 90%, 12%)
HSVhsv(50, 95%, 23%)
CMYKcmyk(0%, 15.5%, 94.8%, 77.3%)
CIE-LABlab(20.45, -1.60, 27.62)
CIE-LCHlch(20.45, 27.66, 93.32°)
OKLaboklab(31.37% -0.008 0.0616)
OKLCHoklch(31.37% 0.062 97.4)
XYZxyz(2.8598, 3.1029, 0.5344)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3103 #030C3A
analogous
#3A1603 #3A3103 #283A03
triadic
#3A3103 #033A31 #31033A
tetradic
#3A3103 #033A16 #030C3A #3A0328
square
#3A3103 #033A16 #030C3A #3A0328
split-complementary
#3A3103 #03283A #16033A
monochromatic
#1D1902 #1D1902 #3A3103 #746206 #AE9309

Accessibility & contrast

On white

12.96
#3A3103 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A3103
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3103#FFFFFF#000000##FFFFFF
##3A31031.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a3103;
/* rgb */ color: rgb(58, 49, 3);
/* oklch */ color: oklch(31.4% 0.062 97.4);
Tailwind
colors: {
  custom: {
    50: '#736849',
    500: '#3a3103',
    950: '#000000',
  },
}
SCSS
$custom: #3a3103;
$custom-light: #736849;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3103",
  "rgb": {
    "r": 58,
    "g": 49,
    "b": 3
  },
  "hsl": {
    "h": 50.182,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31371,
    "c": 0.06208,
    "h": 97.4
  },
  "luminance": 0.03103
}

Semantic roles & 50–950 ramp

primary
#3A3103
secondary
#1C2C7D
accent
#4CFF29
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3A3103

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

Preview Lab → · Contrast checker → · Palette generator →

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