#3A3A07#3A3A07

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

Color values

HEX#3A3A07
RGBrgb(58, 58, 7)
HSLhsl(60, 78%, 13%)
HSVhsv(60, 88%, 23%)
CMYKcmyk(0%, 0%, 87.9%, 77.3%)
CIE-LABlab(23.48, -7.10, 29.20)
CIE-LCHlch(23.48, 30.05, 103.66°)
OKLaboklab(33.79% -0.0228 0.0641)
OKLCHoklch(33.79% 0.068 109.6)
XYZxyz(3.2965, 3.9411, 0.7880)
Luminance0.0394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3A07 #07073A
analogous
#3A2007 #3A3A07 #203A07
triadic
#3A3A07 #073A3A #3A073A
tetradic
#3A3A07 #073A20 #07073A #3A0720
square
#3A3A07 #073A20 #07073A #3A0720
split-complementary
#3A3A07 #07203A #20073A
monochromatic
#1B1B03 #1B1B03 #3A3A07 #71710E #A7A714

Accessibility & contrast

On white

11.74
#3A3A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A3A07
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3A07#FFFFFF#000000##FFFFFF
##3A3A071.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a3a07;
/* rgb */ color: rgb(58, 58, 7);
/* oklch */ color: oklch(33.8% 0.068 109.6);
Tailwind
colors: {
  custom: {
    50: '#726f4c',
    500: '#3a3a07',
    950: '#000000',
  },
}
SCSS
$custom: #3a3a07;
$custom-light: #726f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3a07",
  "rgb": {
    "r": 58,
    "g": 58,
    "b": 7
  },
  "hsl": {
    "h": 60,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.33788,
    "c": 0.06804,
    "h": 109.6
  },
  "luminance": 0.03941
}

Semantic roles & 50–950 ramp

primary
#3A3A07
secondary
#232379
accent
#33F533
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#080701
muted
#7B7A77

Preview Lab

Preview with #3A3A07

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

Preview Lab → · Contrast checker → · Palette generator →

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