#3A3A04#3A3A04

#3A3A04 is a dark, moderate yellow. Relative luminance 0.039; OKLCH L 33.8% C 0.070 H 109.6°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#3A3A04
RGBrgb(58, 58, 4)
HSLhsl(60, 87%, 12%)
HSVhsv(60, 93%, 23%)
CMYKcmyk(0%, 0%, 93.1%, 77.3%)
CIE-LABlab(23.45, -7.27, 30.40)
CIE-LCHlch(23.45, 31.26, 103.45°)
OKLaboklab(33.76% -0.0236 0.0663)
OKLCHoklch(33.76% 0.07 109.6)
XYZxyz(3.2800, 3.9345, 0.7015)
Luminance0.0393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3A04 #04043A
analogous
#3A1F04 #3A3A04 #1F3A04
triadic
#3A3A04 #043A3A #3A043A
tetradic
#3A3A04 #043A1F #04043A #3A041F
square
#3A3A04 #043A1F #04043A #3A041F
split-complementary
#3A3A04 #041F3A #1F043A
monochromatic
#1D1D02 #1D1D02 #3A3A04 #737308 #ADAD0C

Accessibility & contrast

On white

11.75
#3A3A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A3A04
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3A04#FFFFFF#000000##FFFFFF
##3A3A041.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403700
Deuteranopia (green-blind)
#403908
Tritanopia (blue-blind)
#3F3630
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3a3a04;
/* rgb */ color: rgb(58, 58, 4);
/* oklch */ color: oklch(33.8% 0.070 109.6);
Tailwind
colors: {
  custom: {
    50: '#736f4a',
    500: '#3a3a04',
    950: '#000000',
  },
}
SCSS
$custom: #3a3a04;
$custom-light: #736f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3a04",
  "rgb": {
    "r": 58,
    "g": 58,
    "b": 4
  },
  "hsl": {
    "h": 60,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.33763,
    "c": 0.07035,
    "h": 109.6
  },
  "luminance": 0.03934
}

Semantic roles & 50–950 ramp

primary
#3A3A04
secondary
#1E1E7C
accent
#2BFD2B
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#080701
muted
#7B7A77

Preview Lab

Preview with #3A3A04

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

Preview Lab → · Contrast checker → · Palette generator →

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