#3A3A05#3A3A05

#3A3A05 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#3A3A05
RGBrgb(58, 58, 5)
HSLhsl(60, 84%, 12%)
HSVhsv(60, 91%, 23%)
CMYKcmyk(0%, 0%, 91.4%, 77.3%)
CIE-LABlab(23.46, -7.21, 30.00)
CIE-LCHlch(23.46, 30.86, 103.52°)
OKLaboklab(33.77% -0.0233 0.0655)
OKLCHoklch(33.77% 0.07 109.6)
XYZxyz(3.2855, 3.9367, 0.7303)
Luminance0.0394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3A05 #05053A
analogous
#3A2005 #3A3A05 #203A05
triadic
#3A3A05 #053A3A #3A053A
tetradic
#3A3A05 #053A20 #05053A #3A0520
square
#3A3A05 #053A20 #05053A #3A0520
split-complementary
#3A3A05 #05203A #20053A
monochromatic
#1C1C02 #1C1C02 #3A3A05 #72720A #ABAB0F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A3A05#FFFFFF#000000##FFFFFF
##3A3A051.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)
#403909
Tritanopia (blue-blind)
#3F3630
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3a3a05;
/* rgb */ color: rgb(58, 58, 5);
/* oklch */ color: oklch(33.8% 0.070 109.6);
Tailwind
colors: {
  custom: {
    50: '#726f4b',
    500: '#3a3a05',
    950: '#000000',
  },
}
SCSS
$custom: #3a3a05;
$custom-light: #726f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3a05",
  "rgb": {
    "r": 58,
    "g": 58,
    "b": 5
  },
  "hsl": {
    "h": 60,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.33771,
    "c": 0.06958,
    "h": 109.6
  },
  "luminance": 0.03937
}

Semantic roles & 50–950 ramp

primary
#3A3A05
secondary
#20207B
accent
#2DFA2D
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#080701
muted
#7B7A77

Preview Lab

Preview with #3A3A05

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

Preview Lab → · Contrast checker → · Palette generator →

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