#3A3303#3A3303

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

Color values

HEX#3A3303
RGBrgb(58, 51, 3)
HSLhsl(52, 90%, 12%)
HSVhsv(52, 95%, 23%)
CMYKcmyk(0%, 12.1%, 94.8%, 77.3%)
CIE-LABlab(21.11, -2.90, 28.34)
CIE-LCHlch(21.11, 28.49, 95.85°)
OKLaboklab(31.89% -0.0116 0.0628)
OKLCHoklch(31.89% 0.064 100.5)
XYZxyz(2.9453, 3.2739, 0.5629)
Luminance0.0327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3303 #030A3A
analogous
#3A1803 #3A3303 #263A03
triadic
#3A3303 #033A33 #33033A
tetradic
#3A3303 #033A18 #030A3A #3A0326
square
#3A3303 #033A18 #030A3A #3A0326
split-complementary
#3A3303 #03263A #18033A
monochromatic
#1D1A02 #1D1A02 #3A3303 #746606 #AE9909

Accessibility & contrast

On white

12.69
#3A3303 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#3A3303 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3303
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3303#FFFFFF#000000##FFFFFF
##3A33031.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393100
Deuteranopia (green-blind)
#3B3406
Tritanopia (blue-blind)
#3F2E2A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3a3303;
/* rgb */ color: rgb(58, 51, 3);
/* oklch */ color: oklch(31.9% 0.064 100.5);
Tailwind
colors: {
  custom: {
    50: '#736a49',
    500: '#3a3303',
    950: '#000000',
  },
}
SCSS
$custom: #3a3303;
$custom-light: #736a49;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3303",
  "rgb": {
    "r": 58,
    "g": 51,
    "b": 3
  },
  "hsl": {
    "h": 52.364,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31893,
    "c": 0.06383,
    "h": 100.5
  },
  "luminance": 0.03274
}

Semantic roles & 50–950 ramp

primary
#3A3303
secondary
#1C287D
accent
#44FF29
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3A3303

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

Preview Lab → · Contrast checker → · Palette generator →

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