#3B3A04#3B3A04

#3B3A04 is a dark, moderate yellow. Relative luminance 0.040; OKLCH L 33.9% C 0.070 H 108.5°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#3B3A04
RGBrgb(59, 58, 4)
HSLhsl(59, 87%, 12%)
HSVhsv(59, 93%, 23%)
CMYKcmyk(0%, 1.7%, 93.2%, 76.9%)
CIE-LABlab(23.55, -6.74, 30.54)
CIE-LCHlch(23.55, 31.27, 102.45°)
OKLaboklab(33.87% -0.0222 0.0665)
OKLCHoklch(33.87% 0.07 108.5)
XYZxyz(3.3387, 3.9648, 0.7043)
Luminance0.0396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3A04 #04053B
analogous
#3B1F04 #3B3A04 #213B04
triadic
#3B3A04 #043B3A #3A043B
tetradic
#3B3A04 #043B1F #04053B #3B0421
square
#3B3A04 #043B1F #04053B #3B0421
split-complementary
#3B3A04 #04213B #1F043B
monochromatic
#1D1C02 #1D1C02 #3B3A04 #747208 #AEAB0C

Accessibility & contrast

On white

11.71
#3B3A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#3B3A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3A04
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3A04#FFFFFF#000000##FFFFFF
##3B3A041.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403700
Deuteranopia (green-blind)
#413908
Tritanopia (blue-blind)
#403530
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3b3a04;
/* rgb */ color: rgb(59, 58, 4);
/* oklch */ color: oklch(33.9% 0.070 108.5);
Tailwind
colors: {
  custom: {
    50: '#736f4a',
    500: '#3b3a04',
    950: '#000000',
  },
}
SCSS
$custom: #3b3a04;
$custom-light: #736f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3a04",
  "rgb": {
    "r": 59,
    "g": 58,
    "b": 4
  },
  "hsl": {
    "h": 58.909,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.33868,
    "c": 0.07009,
    "h": 108.5
  },
  "luminance": 0.03965
}

Semantic roles & 50–950 ramp

primary
#3B3A04
secondary
#1E207D
accent
#2EFD2A
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#080701
muted
#7B7A77

Preview Lab

Preview with #3B3A04

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

Preview Lab → · Contrast checker → · Palette generator →

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