#3A3204#3A3204

#3A3204 is a dark, moderate yellow. Relative luminance 0.032; OKLCH L 31.6% C 0.062 H 98.8°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#3A3204
RGBrgb(58, 50, 4)
HSLhsl(51, 87%, 12%)
HSVhsv(51, 93%, 23%)
CMYKcmyk(0%, 13.8%, 93.1%, 77.3%)
CIE-LABlab(20.79, -2.19, 27.58)
CIE-LCHlch(20.79, 27.67, 94.55°)
OKLaboklab(31.64% -0.0095 0.0613)
OKLCHoklch(31.64% 0.062 98.8)
XYZxyz(2.9076, 3.1897, 0.5774)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3204 #040C3A
analogous
#3A1704 #3A3204 #273A04
triadic
#3A3204 #043A32 #32043A
tetradic
#3A3204 #043A17 #040C3A #3A0427
square
#3A3204 #043A17 #040C3A #3A0427
split-complementary
#3A3204 #04273A #17043A
monochromatic
#1D1902 #1D1902 #3A3204 #736308 #AD950C

Accessibility & contrast

On white

12.82
#3A3204 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#3A3204 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3204
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3204#FFFFFF#000000##FFFFFF
##3A32041.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383000
Deuteranopia (green-blind)
#3A3307
Tritanopia (blue-blind)
#3F2D29
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3a3204;
/* rgb */ color: rgb(58, 50, 4);
/* oklch */ color: oklch(31.6% 0.062 98.8);
Tailwind
colors: {
  custom: {
    50: '#736949',
    500: '#3a3204',
    950: '#000000',
  },
}
SCSS
$custom: #3a3204;
$custom-light: #736949;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3204",
  "rgb": {
    "r": 58,
    "g": 50,
    "b": 4
  },
  "hsl": {
    "h": 51.111,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31641,
    "c": 0.06207,
    "h": 98.8
  },
  "luminance": 0.0319
}

Semantic roles & 50–950 ramp

primary
#3A3204
secondary
#1E2C7C
accent
#4AFD2B
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3A3204

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

Preview Lab → · Contrast checker → · Palette generator →

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