#3A3306#3A3306

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

Color values

HEX#3A3306
RGBrgb(58, 51, 6)
HSLhsl(52, 81%, 13%)
HSVhsv(52, 90%, 23%)
CMYKcmyk(0%, 12.1%, 89.7%, 77.3%)
CIE-LABlab(21.13, -2.72, 27.15)
CIE-LCHlch(21.13, 27.28, 95.72°)
OKLaboklab(31.92% -0.0106 0.0604)
OKLCHoklch(31.92% 0.061 100)
XYZxyz(2.9618, 3.2805, 0.6495)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3306 #060D3A
analogous
#3A1906 #3A3306 #273A06
triadic
#3A3306 #063A33 #33063A
tetradic
#3A3306 #063A19 #060D3A #3A0627
square
#3A3306 #063A19 #060D3A #3A0627
split-complementary
#3A3306 #06273A #19063A
monochromatic
#1C1803 #1C1803 #3A3306 #71640C #A99511

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A3306#FFFFFF#000000##FFFFFF
##3A33061.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)
#393101
Deuteranopia (green-blind)
#3B3409
Tritanopia (blue-blind)
#3F2E2A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3a3306;
/* rgb */ color: rgb(58, 51, 6);
/* oklch */ color: oklch(31.9% 0.061 100.0);
Tailwind
colors: {
  custom: {
    50: '#726a4a',
    500: '#3a3306',
    950: '#000000',
  },
}
SCSS
$custom: #3a3306;
$custom-light: #726a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3306",
  "rgb": {
    "r": 58,
    "g": 51,
    "b": 6
  },
  "hsl": {
    "h": 51.923,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.3192,
    "c": 0.06128,
    "h": 100
  },
  "luminance": 0.0328
}

Semantic roles & 50–950 ramp

primary
#3A3306
secondary
#222E7A
accent
#4BF830
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3A3306

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

Preview Lab → · Contrast checker → · Palette generator →

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