#3A3A06#3A3A06

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

Color values

HEX#3A3A06
RGBrgb(58, 58, 6)
HSLhsl(60, 81%, 13%)
HSVhsv(60, 90%, 23%)
CMYKcmyk(0%, 0%, 89.7%, 77.3%)
CIE-LABlab(23.47, -7.16, 29.60)
CIE-LCHlch(23.47, 30.46, 103.59°)
OKLaboklab(33.78% -0.0231 0.0648)
OKLCHoklch(33.78% 0.069 109.6)
XYZxyz(3.2910, 3.9389, 0.7592)
Luminance0.0394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3A06 #06063A
analogous
#3A2006 #3A3A06 #203A06
triadic
#3A3A06 #063A3A #3A063A
tetradic
#3A3A06 #063A20 #06063A #3A0620
square
#3A3A06 #063A20 #06063A #3A0620
split-complementary
#3A3A06 #06203A #20063A
monochromatic
#1C1C03 #1C1C03 #3A3A06 #71710C #A9A911

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A3A06#FFFFFF#000000##FFFFFF
##3A3A061.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)
#40390A
Tritanopia (blue-blind)
#3F3630
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3a3a06;
/* rgb */ color: rgb(58, 58, 6);
/* oklch */ color: oklch(33.8% 0.069 109.6);
Tailwind
colors: {
  custom: {
    50: '#726f4b',
    500: '#3a3a06',
    950: '#000000',
  },
}
SCSS
$custom: #3a3a06;
$custom-light: #726f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3a06",
  "rgb": {
    "r": 58,
    "g": 58,
    "b": 6
  },
  "hsl": {
    "h": 60,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.33779,
    "c": 0.06881,
    "h": 109.6
  },
  "luminance": 0.03939
}

Semantic roles & 50–950 ramp

primary
#3A3A06
secondary
#22227A
accent
#30F830
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#080701
muted
#7B7A77

Preview Lab

Preview with #3A3A06

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

Preview Lab → · Contrast checker → · Palette generator →

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