#3A3A03#3A3A03

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

Color values

HEX#3A3A03
RGBrgb(58, 58, 3)
HSLhsl(60, 90%, 12%)
HSVhsv(60, 95%, 23%)
CMYKcmyk(0%, 0%, 94.8%, 77.3%)
CIE-LABlab(23.45, -7.33, 30.80)
CIE-LCHlch(23.45, 31.66, 103.39°)
OKLaboklab(33.76% -0.0239 0.067)
OKLCHoklch(33.76% 0.071 109.7)
XYZxyz(3.2745, 3.9323, 0.6727)
Luminance0.0393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3A03 #03033A
analogous
#3A1F03 #3A3A03 #1F3A03
triadic
#3A3A03 #033A3A #3A033A
tetradic
#3A3A03 #033A1F #03033A #3A031F
square
#3A3A03 #033A1F #03033A #3A031F
split-complementary
#3A3A03 #031F3A #1F033A
monochromatic
#1D1D02 #1D1D02 #3A3A03 #747406 #AEAE09

Accessibility & contrast

On white

11.76
#3A3A03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A3A03
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3A03#FFFFFF#000000##FFFFFF
##3A3A031.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a3a03;
/* rgb */ color: rgb(58, 58, 3);
/* oklch */ color: oklch(33.8% 0.071 109.7);
Tailwind
colors: {
  custom: {
    50: '#736f4a',
    500: '#3a3a03',
    950: '#000000',
  },
}
SCSS
$custom: #3a3a03;
$custom-light: #736f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3a03",
  "rgb": {
    "r": 58,
    "g": 58,
    "b": 3
  },
  "hsl": {
    "h": 60,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.33755,
    "c": 0.07113,
    "h": 109.7
  },
  "luminance": 0.03932
}

Semantic roles & 50–950 ramp

primary
#3A3A03
secondary
#1C1C7D
accent
#29FF29
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#080701
muted
#7B7A77

Preview Lab

Preview with #3A3A03

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

Preview Lab → · Contrast checker → · Palette generator →

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