#3A3307#3A3307

#3A3307 is a dark, moderate yellow. Relative luminance 0.033; OKLCH L 31.9% C 0.060 H 99.8°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#3A3307
RGBrgb(58, 51, 7)
HSLhsl(52, 78%, 13%)
HSVhsv(52, 88%, 23%)
CMYKcmyk(0%, 12.1%, 87.9%, 77.3%)
CIE-LABlab(21.14, -2.66, 26.75)
CIE-LCHlch(21.14, 26.88, 95.68°)
OKLaboklab(31.93% -0.0103 0.0596)
OKLCHoklch(31.93% 0.06 99.8)
XYZxyz(2.9672, 3.2827, 0.6783)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3307 #070E3A
analogous
#3A1A07 #3A3307 #273A07
triadic
#3A3307 #073A33 #33073A
tetradic
#3A3307 #073A1A #070E3A #3A0727
square
#3A3307 #073A1A #070E3A #3A0727
split-complementary
#3A3307 #07273A #1A073A
monochromatic
#1B1803 #1B1803 #3A3307 #71630E #A79314

Accessibility & contrast

On white

12.68
#3A3307 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#3A3307 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3307
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3307#FFFFFF#000000##FFFFFF
##3A33071.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393102
Deuteranopia (green-blind)
#3B340A
Tritanopia (blue-blind)
#3F2E2B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3a3307;
/* rgb */ color: rgb(58, 51, 7);
/* oklch */ color: oklch(31.9% 0.060 99.8);
Tailwind
colors: {
  custom: {
    50: '#726a4b',
    500: '#3a3307',
    950: '#000000',
  },
}
SCSS
$custom: #3a3307;
$custom-light: #726a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3307",
  "rgb": {
    "r": 58,
    "g": 51,
    "b": 7
  },
  "hsl": {
    "h": 51.765,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.31929,
    "c": 0.06045,
    "h": 99.8
  },
  "luminance": 0.03283
}

Semantic roles & 50–950 ramp

primary
#3A3307
secondary
#232F79
accent
#4DF533
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3A3307

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

Preview Lab → · Contrast checker → · Palette generator →

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